mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
[core] remove duplicated function from BaseNode
This commit is contained in:
parent
eb9df4c900
commit
4c7ff6eb1a
1 changed files with 1 additions and 4 deletions
|
@ -143,9 +143,6 @@ class BaseNode(object):
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def stopProcess(self, chunk):
|
|
||||||
logging.warning(f'No stopProcess implementation on node: {chunk.node.name}')
|
|
||||||
|
|
||||||
def processChunk(self, chunk):
|
def processChunk(self, chunk):
|
||||||
raise NotImplementedError(f'No processChunk implementation on node: "{chunk.node.name}"')
|
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
|
# The same node could exists several times in the graph and
|
||||||
# only one would have the running subprocess; ignore all others
|
# only one would have the running subprocess; ignore all others
|
||||||
if not chunk.subprocess:
|
if not chunk.subprocess:
|
||||||
print(f"[{chunk.node.name}] stopProcess: no subprocess")
|
logging.warning(f"[{chunk.node.name}] stopProcess: no subprocess")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Retrieve process tree
|
# Retrieve process tree
|
||||||
|
|
Loading…
Add table
Reference in a new issue