Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jflow
Commits
6dc110a2
Commit
6dc110a2
authored
May 16, 2014
by
Jerome Mariette
Browse files
fix a bug with 2 executions
parent
9b8be315
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/workflow.py
View file @
6dc110a2
...
...
@@ -183,6 +183,9 @@ class Workflow(threading.Thread):
# add the component
self
.
components
.
append
(
cmpt_object
)
elif
not
self
.
component_nameids_is_init
and
not
self
.
dynamic_component_present
:
if
self
.
_component_is_duplicated
(
cmpt_object
):
raise
ValueError
(
"Component "
+
cmpt_object
.
__class__
.
__name__
+
" with prefix "
+
cmpt_object
.
prefix
+
" already exist in this pipeline!"
)
self
.
components
.
append
(
cmpt_object
)
else
:
if
self
.
_component_is_duplicated
(
cmpt_object
):
...
...
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