diff options
author | zsloan | 2021-09-14 18:09:36 +0000 |
---|---|---|
committer | zsloan | 2021-09-14 18:09:36 +0000 |
commit | c0fbbb42a79baa823b517ee8f537cec1edc057c8 (patch) | |
tree | e2288f332c12b4400f6be9aae4445236e29bb46f /wqflask | |
parent | 24e0de14969edb220a03e22d1c9b7e6ed33f6b82 (diff) | |
download | genenetwork2-c0fbbb42a79baa823b517ee8f537cec1edc057c8.tar.gz |
Replace / with _ in the file hashes in rqtl_mapping.py, since they get translated to directories
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/marker_regression/rqtl_mapping.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/marker_regression/rqtl_mapping.py b/wqflask/wqflask/marker_regression/rqtl_mapping.py index cd578870..a148b49c 100644 --- a/wqflask/wqflask/marker_regression/rqtl_mapping.py +++ b/wqflask/wqflask/marker_regression/rqtl_mapping.py @@ -61,6 +61,7 @@ def get_hash_of_textio(the_file: TextIO) -> str: the_file.seek(0) hash_of_file = hashlib.md5(the_file.read().encode()).hexdigest() + hash_of_file = hash_of_file.replace("/", "_") # Replace / with _ to prevent issue with filenames being translated to directories return hash_of_file |