Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion flow360/component/volume_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ class VolumeMeshStatusV2(Enum):
COMPLETED = "completed"
PENDING = "pending"
GENERATING = "generating"
ERROR = "error"

def is_final(self):
"""
Expand All @@ -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

Expand Down
Loading