aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorzsloan2021-05-19 20:03:01 +0000
committerzsloan2021-05-19 20:03:01 +0000
commite29a349b46d932411879a810fb0be3a0042bf540 (patch)
tree45992a5db800d15bd3f4c9f8114590639beb3a02 /gn3
parent09bcf2195e3cc18b993c4fff8b22033e51d91ff1 (diff)
downloadgenenetwork3-e29a349b46d932411879a810fb0be3a0042bf540.tar.gz
Temporarily replace forward-slashes with underscores, since they can be included in the hashes used for filenames
Diffstat (limited to 'gn3')
-rw-r--r--gn3/computations/rqtl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn3/computations/rqtl.py b/gn3/computations/rqtl.py
index 855a819..605e0e1 100644
--- a/gn3/computations/rqtl.py
+++ b/gn3/computations/rqtl.py
@@ -26,6 +26,9 @@ output filename generated from a hash of the genotype and phenotype files
_hash += generate_hash_of_string(
",".join(rqtl_wrapper_bool_kwargs))
+ # Temporarily substitute forward-slashes in hash with underscores
+ _hash = _hash.replace("/", "_")
+
_output_filename = f"{_hash}-output.json"
return {
"output_file":