Apply flynt to use f-strings

This commit is contained in:
Fabien Castan 2025-04-30 19:13:53 +02:00
parent 37a6d9e2e7
commit 1d4ba577a9
22 changed files with 123 additions and 124 deletions

View file

@ -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 "")