aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-09-14 18:14:33 +0000
committerzsloan2021-09-14 18:14:33 +0000
commit8d54d1871e1319f7db46132d3eed61a817d5dc4c (patch)
tree031275ca63c3921236bea9512ae49a55ea1b4ec7 /wqflask
parentc0fbbb42a79baa823b517ee8f537cec1edc057c8 (diff)
downloadgenenetwork2-8d54d1871e1319f7db46132d3eed61a817d5dc4c.tar.gz
Replace / with _ in the mapping results filename, due to / causing issues with being translated to directories
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/run_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/run_mapping.py b/wqflask/wqflask/marker_regression/run_mapping.py
index 361c413b..1df53fef 100644
--- a/wqflask/wqflask/marker_regression/run_mapping.py
+++ b/wqflask/wqflask/marker_regression/run_mapping.py
@@ -104,7 +104,7 @@ class RunMapping:
if "results_path" in start_vars:
self.mapping_results_path = start_vars['results_path']
else:
- mapping_results_filename = "_".join([self.dataset.group.name, self.vals_hash])
+ mapping_results_filename = "_".join([self.dataset.group.name, self.vals_hash]).replace("/", "_")
self.mapping_results_path = "{}{}.csv".format(
webqtlConfig.GENERATED_IMAGE_DIR, mapping_results_filename)