Skip to content

Commit d25ed14

Browse files
committed
process.Action: add property indicating whether task takes a progress indicator
1 parent 93f17fa commit d25ed14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gazeMapper/process/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ def needs_GUI(self):
2525
@property
2626
def has_options(self):
2727
return self in [Action.MAKE_GAZE_OVERLAY_VIDEO, Action.DETECT_MARKERS, Action.GAZE_TO_PLANE, Action.MAKE_MAPPED_GAZE_VIDEO]
28+
@property
29+
def has_progress_indication(self):
30+
return self in [Action.MAKE_GAZE_OVERLAY_VIDEO, Action.DETECT_MARKERS, Action.GAZE_TO_PLANE, Action.VALIDATE, Action.MAKE_MAPPED_GAZE_VIDEO]
2831
def succ(self):
2932
v = self.value+1
3033
if v > Action.MAKE_MAPPED_GAZE_VIDEO.value:

0 commit comments

Comments
 (0)