Skip to content

Commit 9de96b8

Browse files
committed
reasons as global var
1 parent c4c4ef1 commit 9de96b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

atlaselectrophysiology/ephys_gui_setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import pyqtgraph.exporters
44
import numpy as np
55
from random import randrange
6+
from ibllib.qc.critical_reasons import REASONS_INS_CRIT_GUI
7+
68
pg.setConfigOption('background', 'w')
79
pg.setConfigOption('foreground', 'k')
810

@@ -489,7 +491,7 @@ def init_interaction_features(self):
489491
self.desc_layout = QtWidgets.QVBoxLayout()
490492
self.desc_layout.setSpacing(5)
491493
self.desc_buttons.setExclusive(False)
492-
options = ["Noise and artifact", "Drift", "Poor neural yield", "Brain Damage", "Other"]
494+
options = REASONS_INS_CRIT_GUI
493495
for i, val in enumerate(options):
494496

495497
button = QtWidgets.QCheckBox(val)

0 commit comments

Comments
 (0)