From b6b8e2652cddce6988dd9521754af11314960e8b Mon Sep 17 00:00:00 2001 From: benflexcompute Date: Wed, 20 Aug 2025 14:10:05 -0400 Subject: [PATCH] [FXC-2376] Added support for VM error status --- flow360/component/volume_mesh.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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