Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
31cd6c0f
Commit
31cd6c0f
authored
Sep 27, 2019
by
Romain Therville
☕
Browse files
Merge branch 'issue#86' into 'master'
merge reopened branch 86 with master See merge request
!47
parents
60b8f8bd
9f5fca59
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ng6/utils.py
View file @
31cd6c0f
...
...
@@ -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-z
1
-9]"
,
"_"
,
run
[
'name'
]),
id
)
run_name
=
"Run_%s.%s"
%
(
re
.
sub
(
r
"[^A-Za-z
0
-9]"
,
"_"
,
run
[
'name'
]),
id
)
raw_data_dir
=
os
.
path
.
join
(
output_folder
,
project_name
,
run_name
,
"RawData"
)
if
source_dir
not
in
src_directories
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment