Commit 9f5fca59 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

ng6/utils.py has been updated to allow '0' in run names when the

workflow 'downloadsymlink' is called.
(They were replaced with '_'.)

issue#86 reopened
parent dffa2ab1
......@@ -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-z0-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