From 4c7ff6eb1a2d2a485391b6ad01f72fdcc31c4da5 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Wed, 26 Mar 2025 11:29:09 +0000 Subject: [PATCH] [core] remove duplicated function from BaseNode --- meshroom/core/desc/node.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meshroom/core/desc/node.py b/meshroom/core/desc/node.py index 378e01fd..2cbec111 100644 --- a/meshroom/core/desc/node.py +++ b/meshroom/core/desc/node.py @@ -143,9 +143,6 @@ class BaseNode(object): """ pass - def stopProcess(self, chunk): - logging.warning(f'No stopProcess implementation on node: {chunk.node.name}') - def processChunk(self, chunk): raise NotImplementedError(f'No processChunk implementation on node: "{chunk.node.name}"') @@ -214,7 +211,7 @@ class BaseNode(object): # The same node could exists several times in the graph and # only one would have the running subprocess; ignore all others if not chunk.subprocess: - print(f"[{chunk.node.name}] stopProcess: no subprocess") + logging.warning(f"[{chunk.node.name}] stopProcess: no subprocess") return # Retrieve process tree