Commit dffa2ab1 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

issue#86

Instead of being deleted, special characters are replaced with '_'.
parent e2ecc6b1
......@@ -380,7 +380,7 @@ class Utils(object):
project_name = "Project_%s.%s" % ( re.sub( r"[\s\/]", "_", run['project_name']), run['project_id'] )
#run_name = "Run_%s.%s" %( run['name'].replace(' ', '_').replace('/', '_'), id )
run_name = "Run_%s.%s" % ( re.sub( r"[^A-Za-z1-9]", "", run['name']), id)
run_name = "Run_%s.%s" % ( re.sub( r"[^A-Za-z1-9]", "_", run['name']), id)
raw_data_dir = os.path.join( output_folder, project_name, run_name, "RawData" )
if source_dir not in src_directories :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment