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
10cd9f3f
Commit
10cd9f3f
authored
Sep 16, 2015
by
Jerome Mariette
Browse files
update iofeatures and add python object parameter
parent
52bd4b92
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/workflow.py
View file @
10cd9f3f
...
...
@@ -416,6 +416,10 @@ class Workflow(threading.Thread):
for
parent
in
ioparameter
.
parent_linkTrace_nameid
:
try
:
gr
.
add_edge
((
parent
,
ioparameter
.
linkTrace_nameid
))
except
:
pass
elif
issubclass
(
ioparameter
.
__class__
,
InputObject
)
or
issubclass
(
ioparameter
.
__class__
,
InputObjectList
):
for
parent
in
ioparameter
.
parent_linkTrace_nameid
:
try
:
gr
.
add_edge
((
parent
,
ioparameter
.
linkTrace_nameid
))
except
:
pass
# check if all nodes are connected
for
edge
in
gr
.
edges
():
if
all_nodes
.
has_key
(
edge
[
0
]):
...
...
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