mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-30 14:58:37 +02:00
Apply flynt to use f-strings
This commit is contained in:
parent
37a6d9e2e7
commit
1d4ba577a9
22 changed files with 123 additions and 124 deletions
|
@ -161,7 +161,7 @@ def mvsPipeline(graph, sfm=None):
|
|||
list of Node: the created nodes
|
||||
"""
|
||||
if sfm and not sfm.nodeType == "StructureFromMotion":
|
||||
raise ValueError("Invalid node type. Expected StructureFromMotion, got {}.".format(sfm.nodeType))
|
||||
raise ValueError(f"Invalid node type. Expected StructureFromMotion, got {sfm.nodeType}.")
|
||||
|
||||
prepareDenseScene = graph.addNewNode('PrepareDenseScene',
|
||||
input=sfm.output if sfm else "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue