Skip to content

Commit

Permalink
Sanitize spaces in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
memgonzales committed Aug 29, 2023
1 parent 8ef2fbe commit d04a469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion callbacks/file_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def convert_text_to_path(text):
- Well-formed path
"""
return text.strip().replace(
":", "_").replace(";", "__").replace("-", "_").replace('.', '_')
":", "_").replace(";", "__").replace("-", "_").replace('.', '_').replace(' ', '')


def get_path_to_temp(genomic_interval, analysis_type, *args):
Expand Down

0 comments on commit d04a469

Please sign in to comment.