diff options
author | BonfaceKilz | 2021-04-29 21:51:27 +0300 |
---|---|---|
committer | GitHub | 2021-04-29 21:51:27 +0300 |
commit | 881090ff15a5a563bccefcbd08d373c88a64aa31 (patch) | |
tree | b48693555b97fd21e37b263591685af75a2a4b45 /wqflask/utility/helper_functions.py | |
parent | 23e8e222e8016ea8335d4850070f884ab9b043fe (diff) | |
parent | bab514be0f0d01fc192638b8e7ccd5909b842b23 (diff) | |
download | genenetwork2-881090ff15a5a563bccefcbd08d373c88a64aa31.tar.gz |
Merge branch 'testing' into Feature/Add-upload-data-forms
Diffstat (limited to 'wqflask/utility/helper_functions.py')
-rw-r--r-- | wqflask/utility/helper_functions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/utility/helper_functions.py b/wqflask/utility/helper_functions.py index e0ae3414..12fd6be5 100644 --- a/wqflask/utility/helper_functions.py +++ b/wqflask/utility/helper_functions.py @@ -39,8 +39,8 @@ def get_trait_db_obs(self, trait_db_list): for trait in trait_db_list: data, _separator, hmac_string = trait.rpartition(':') data = data.strip() - assert hmac_string == hmac.hmac_creation(data), "Data tampering?" - trait_name, dataset_name = data.split(":") + assert hmac_string==hmac.hmac_creation(data), "Data tampering?" + trait_name, dataset_name = data.split(":")[:2] if dataset_name == "Temp": dataset_ob = data_set.create_dataset( dataset_name=dataset_name, dataset_type="Temp", |