diff --git a/execution_engine/task/task.py b/execution_engine/task/task.py index 85d079bd..2b983c35 100644 --- a/execution_engine/task/task.py +++ b/execution_engine/task/task.py @@ -494,6 +494,8 @@ def interval_counts( ) if positive_count >= effective_count_min: effective_type = IntervalType.POSITIVE + elif not_applicable_count == len(intervals): + effective_type = IntervalType.NOT_APPLICABLE else: effective_type = IntervalType.NEGATIVE ratio = positive_count / effective_count_min