Commit 10cd9f3f authored by Jerome Mariette's avatar Jerome Mariette
Browse files

update iofeatures and add python object parameter

parent 52bd4b92
...@@ -416,6 +416,10 @@ class Workflow(threading.Thread): ...@@ -416,6 +416,10 @@ class Workflow(threading.Thread):
for parent in ioparameter.parent_linkTrace_nameid: for parent in ioparameter.parent_linkTrace_nameid:
try: gr.add_edge((parent, ioparameter.linkTrace_nameid)) try: gr.add_edge((parent, ioparameter.linkTrace_nameid))
except: pass 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 # check if all nodes are connected
for edge in gr.edges(): for edge in gr.edges():
if all_nodes.has_key(edge[0]): if all_nodes.has_key(edge[0]):
......
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