aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexander Kabui2021-11-11 20:29:04 +0300
committerAlexander Kabui2021-11-11 20:29:04 +0300
commitca4a5fdda8a7225dc5bebc17c61837ba5373ec68 (patch)
treee904770f503122c7b4227a895bf9455bc0c1b160 /wqflask
parent5935e2cc3e0ac3a8004ccd5224557d34b62359d8 (diff)
downloadgenenetwork2-ca4a5fdda8a7225dc5bebc17c61837ba5373ec68.tar.gz
minor fix for generating file_name
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/pre_computes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/pre_computes.py b/wqflask/wqflask/correlation/pre_computes.py
index d0caca60..55f25f0b 100644
--- a/wqflask/wqflask/correlation/pre_computes.py
+++ b/wqflask/wqflask/correlation/pre_computes.py
@@ -15,7 +15,7 @@ def generate_filename(**kwargs):
target_dataset_timestamp = kwargs["target_timestamp"]
string_unicode = f"{base_dataset_name}{target_dataset_name}{base_timestamp}{target_dataset_timestamp}sample_corr_compute".encode()
- hashlib.md5(string_unicode).hexdigest()
+ return hashlib.md5(string_unicode).hexdigest()
def cache_compute_results(start_vars,