updated syntax from python2 to 3

This commit is contained in:
Rebeccah
2019-12-10 15:17:34 -05:00
parent 2f75b48c63
commit cf24c81b3e
5 changed files with 21 additions and 6 deletions

View File

@@ -96,6 +96,7 @@ class WorkflowDAG(SimpleDAG):
else:
if self._are_relevant_parents_finished(n):
nodes_found.append(n)
#BECCAH TODO somewhere around here add in ANY and ALL logic
return [n['node_object'] for n in nodes_found]
def cancel_node_jobs(self):
@@ -185,6 +186,7 @@ class WorkflowDAG(SimpleDAG):
Return a boolean
'''
def _should_mark_node_dnr(self, node, parent_nodes):
#BECCAH TODO Gonna have to update this too
for p in parent_nodes:
if p.do_not_run is True:
pass