Skip to content
Snippets Groups Projects
Commit 75091884 authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

clean "." in strain strings

parent e2fe7419
No related branches found
No related tags found
1 merge request!18Release v2.1.0
......@@ -14,9 +14,11 @@ def clean_string(string):
cleaned_string = string \
.replace(" ", "_") \
.replace("-", "_") \
.replace(".", "_") \
.replace("(", "") \
.replace(")", "") \
.replace("'", "").strip()
.replace("'", "")\
.strip()
return cleaned_string
else:
return string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment