diff --git a/flow360/component/volume_mesh.py b/flow360/component/volume_mesh.py index 36c13adbf..ed234b344 100644 --- a/flow360/component/volume_mesh.py +++ b/flow360/component/volume_mesh.py @@ -807,6 +807,7 @@ class VolumeMeshStatusV2(Enum): COMPLETED = "completed" PENDING = "pending" GENERATING = "generating" + ERROR = "error" def is_final(self): """ @@ -817,7 +818,7 @@ def is_final(self): bool True if status is final, False otherwise. """ - if self in [VolumeMeshStatusV2.COMPLETED]: + if self in [VolumeMeshStatusV2.COMPLETED, VolumeMeshStatusV2.ERROR]: return True return False