Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
4ac9f97f
Commit
4ac9f97f
authored
Oct 03, 2014
by
Mathieu Giraud
Committed by
Vidjil Team
Oct 10, 2014
Browse files
task.py: do not use -G option if 'multi' germline is selected
parent
41cadbc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/task.py
View file @
4ac9f97f
...
...
@@ -82,7 +82,10 @@ def run_vidjil(id_file, id_config, id_data, id_fuse):
vidjil_germline
=
db
.
config
[
id_config
].
germline
## commande complete
cmd
=
vidjil_path
+
'/vidjil '
+
' -o '
+
out_folder
+
' -G '
+
germline_folder
+
vidjil_germline
+
' '
+
vidjil_cmd
+
' '
+
seq_file
cmd
=
vidjil_path
+
'/vidjil '
+
' -o '
+
out_folder
if
not
vidjil_germline
==
'multi'
:
cmd
+=
' -G '
+
germline_folder
+
vidjil_germline
cmd
+=
' '
+
vidjil_cmd
+
' '
+
seq_file
## execute la commande vidjil
p
=
Popen
(
cmd
,
shell
=
True
,
stdin
=
PIPE
,
stdout
=
PIPE
,
stderr
=
STDOUT
,
close_fds
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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