Skip to content

Commit

Permalink
Debug: test_multiviewPipeline failing
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Jun 16, 2023
1 parent 12797c5 commit b2db741
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meshroom/core/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,13 @@ def _evaluateUidConflicts(self, data):
node = self.node(nodeName)
# If the node is a CompatibilityNode, its UID is not available and there is no need to check it
if isinstance(node, CompatibilityNode):
print('skipping')
continue

savedUid = nodeData.get("uids", "").get("0", "") # Node's UID from the graph file
graphUid = node._uids.get(0) # Node's UID from the graph itself
if savedUid != graphUid:
print("UIDs for " + str(nodeName) + " are different: " + str(savedUid) + " vs " + str(graphUid))
# Different UIDs, remove the existing node from the graph and replace it with a CompatibilityNode
logging.debug("UID conflict detected for {}".format(nodeName))
self.removeNode(nodeName)
Expand Down

0 comments on commit b2db741

Please sign in to comment.