aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-08-02 21:24:10 +0300
committerBonfaceKilz2021-08-03 15:49:50 +0300
commitf175c8806b4fbf372cbe65790ce7816b98e32695 (patch)
tree7d19f48866546cac120f6f9539bafc77df029cfc /wqflask
parent299847f03a84c5a74c51d8cb6bea6763431773c2 (diff)
downloadgenenetwork2-f175c8806b4fbf372cbe65790ce7816b98e32695.tar.gz
wqflask: views: Add author name to generated diff's filename
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 18d3e99f..ed5398a2 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -589,7 +589,7 @@ def update_phenotype():
f"'{uploaded_file_name}' '{new_file_name}' "
"--format json"))
diff_output = ("/tmp/sample-data/diffs/"
- f"{trait_name}."
+ f"{trait_name}.{author.decode('utf-8')}."
f"{phenotype_id}.{current_time}.json")
with open(diff_output, "w") as f:
dict_ = json.loads(r.get("output"))