aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-09 13:44:20 +0300
committerMunyoki Kilyungi2022-09-09 13:44:20 +0300
commite63f87c45bde45749b4eff4cf2f9c605af01c8cd (patch)
treed7e1be3f0661359a8e5b9370ac56a620b24816e0
parent8eec2b879273b9e1a83f946bc784c03383a20595 (diff)
downloadgenenetwork2-e63f87c45bde45749b4eff4cf2f9c605af01c8cd.tar.gz
Add missing import
* wqflask/base/trait.py: Import utility.hmac
-rw-r--r--wqflask/base/trait.py3
1 files changed, 1 insertions, 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()