aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-08-02 22:28:00 +0300
committerBonfaceKilz2021-08-03 15:49:50 +0300
commit759b04823818cd09f5e8e78299f270b3f7b73042 (patch)
tree371d26f30a00d3cbf09dd09c4dc108e70be6fd97 /wqflask
parentcbe5d6edacafe7f1afba49e20c644a34fa9aaf7d (diff)
downloadgenenetwork2-759b04823818cd09f5e8e78299f270b3f7b73042.tar.gz
Remove hard coded PATH for csvdiff binary
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 2f704ac9..a40e0d44 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -589,7 +589,7 @@ def update_phenotype():
phenotype_id=str(phenotype_id))
with open(uploaded_file_name, "w") as f_:
f_.write(csv_.split("\n\n")[-1])
- r = run_cmd(cmd=("/home/bonface/opt/genenetwork3/bin/csvdiff "
+ r = run_cmd(cmd=("csvdiff "
f"'{uploaded_file_name}' '{new_file_name}' "
"--format json"))
diff_output = ("/tmp/sample-data/diffs/"