From fd9a3ffeda7bbff04b8e2867326f20732e2eb998 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Tue, 26 Sep 2017 11:14:19 +0200 Subject: [PATCH] [processGraph] nodes already submitted: print a warning instead of an exception for the moment --- meshroom/processGraph/graph.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meshroom/processGraph/graph.py b/meshroom/processGraph/graph.py index 4fe27583..8d6a4ec4 100644 --- a/meshroom/processGraph/graph.py +++ b/meshroom/processGraph/graph.py @@ -687,13 +687,13 @@ def execute(graph, startNodes=None, force=False): if nodesInConflict: nodesStatus = set([node.status.status.name for node in nodesInConflict]) - nodes = [node.name for node in nodesInConflict] - raise RuntimeError( - 'Graph execution error.\n' - 'Some nodes are already submitted with status: {}\n' + nodesName = [node.name for node in nodesInConflict] + #raise RuntimeError( + print( + 'WARNING: Some nodes are already submitted with status: {}\n' 'Nodes: {}'.format( ', '.join(nodesStatus), - ', '.join(nodes), + ', '.join(nodesName), )) print('execute: ', str([n.name for n in nodes]))