Skip to content

Commit 368b8c6

Browse files
committed
changed check_wheel_alignment FAIL -> WARNING
1 parent 780a00d commit 368b8c6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ibllib/qc/camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ def check_wheel_alignment(self, tolerance=(1, 2), display=False):
594594

595595
# Determine the outcome. If there are two values for the tolerance, one is taken to be
596596
# a warning threshold, the other a failure threshold.
597-
out_map = {0: 'FAIL', 1: 'WARNING', 2: 'PASS'}
597+
out_map = {0: 'WARNING', 1: 'WARNING', 2: 'PASS'} # 0: FAIL -> WARNING Aug 2022
598598
passed = np.abs(offset) <= np.sort(np.array(tolerance))
599599
return out_map[sum(passed)], int(offset)
600600

ibllib/qc/task_metrics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class TaskQC(base.QC):
8686
'_task_stimOff_delays': lambda x:
8787
TaskQC._thresholding(x, thresholds={"PASS": 0.99, "WARNING": 0}),
8888
'_task_iti_delays': lambda x: -1, # TODO figure why nearly always = 0 ;
89+
# thresholds={"NOT_SET": 0}
8990
'_task_stimFreeze_delays': lambda x:
9091
TaskQC._thresholding(x, thresholds={"PASS": 0.99, "WARNING": 0}),
9192
'_task_wheel_integrity': lambda x:

0 commit comments

Comments
 (0)