Fix #5939. Fix #2751. IfcPatch no longer needs the (rarely used) input src arg by default.

This commit is contained in:
Dion Moult
2025-01-10 16:59:45 +11:00
parent 83add56e6c
commit cac3d7f699
33 changed files with 58 additions and 119 deletions
+2 -4
View File
@@ -33,10 +33,8 @@ class Patch(bonsai.core.tool.Patch):
@classmethod
def is_filepath_argument(cls, recipe: str, arg_name: str) -> bool:
# TODO: Temporary hack to identify filepath arguments.
# Should mark them as such in the patches documentation
# and process it later.
return recipe == "SplitByBuildingStorey" and arg_name == "output_dir"
# There is probably a more explicit way to do this
return "filepath" in arg_name
@classmethod
def does_patch_has_output(cls, recipe: str) -> bool: