From e63f87c45bde45749b4eff4cf2f9c605af01c8cd Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 9 Sep 2022 13:44:20 +0300 Subject: Add missing import * wqflask/base/trait.py: Import utility.hmac --- wqflask/base/trait.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 2ca34028..df561e33 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -1,7 +1,7 @@ import requests import simplejson as json from wqflask import app - +from utility import hmac from base import webqtlConfig from base.webqtlCaseData import webqtlCaseData from base.data_set import create_dataset @@ -228,7 +228,6 @@ def retrieve_sample_data(trait, dataset, samplelist=None): results = Redis.get(trait.name).split() else: results = dataset.retrieve_sample_data(trait.name) - # Todo: is this necessary? If not remove trait.data.clear() -- cgit v1.2.3