diff options
author | zsloan | 2021-09-14 18:14:33 +0000 |
---|---|---|
committer | zsloan | 2021-09-14 18:14:33 +0000 |
commit | 8d54d1871e1319f7db46132d3eed61a817d5dc4c (patch) | |
tree | 031275ca63c3921236bea9512ae49a55ea1b4ec7 /wqflask | |
parent | c0fbbb42a79baa823b517ee8f537cec1edc057c8 (diff) | |
download | genenetwork2-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.py | 2 |
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) |