@@ -16,7 +16,6 @@ def init_layout(self, main_window, offline=False):
1616 main_widget = QtWidgets .QWidget ()
1717 self .setCentralWidget (main_widget )
1818
19- #self.init_menubar()
2019 self .init_interaction_features ()
2120 self .init_figures ()
2221
@@ -107,7 +106,7 @@ def init_menubar(self):
107106 for stim in stim_type :
108107 img = QtGui .QAction (stim , self , checkable = True , checked = False )
109108 img .triggered .connect (lambda checked , item = stim : self .plot_image (
110- self .img_stim_data [item ]))
109+ self .img_stim_data [item ]))
111110 img_options .addAction (img )
112111 self .img_options_group .addAction (img )
113112
@@ -138,14 +137,6 @@ def init_menubar(self):
138137 probe_rmsLFP = QtGui .QAction ('rms LFP' , self , checkable = True , checked = False )
139138 probe_rmsLFP .triggered .connect (lambda : self .plot_probe (self .probe_rms_LFPdata ))
140139
141-
142-
143- #probe_on_rfmap = QtGui.QAction('RF Map - On', self, checkable=True, checked=False)
144- #probe_on_rfmap.triggered.connect(lambda: self.plot_probe(self.probe_rfmap_on_data,
145- # bounds=self.rfmap_boundaries))
146- #probe_off_rfmap = QtGui.QAction('RF Map - Off', self, checkable=True, checked=False)
147- #probe_off_rfmap.triggered.connect(lambda: self.plot_probe(self.probe_rfmap_off_data,
148- # bounds=self.rfmap_boundaries))
149140 # Initialise with rms of AP probe plot
150141 self .probe_init = probe_rmsAP
151142
@@ -178,7 +169,6 @@ def init_menubar(self):
178169 probe_options .addAction (probe )
179170 self .probe_options_group .addAction (probe )
180171
181-
182172 # SLICE PLOTS MENU BAR
183173 # Define all coronal slice plot options
184174 slice_hist_rd = QtGui .QAction ('Histology Red' , self , checkable = True , checked = True )
@@ -489,7 +479,6 @@ def init_interaction_features(self):
489479 ephys_qc_label = QtGui .QLabel ("QC for ephys recording" )
490480 self .ephys_qc = QtGui .QComboBox ()
491481 self .ephys_qc .addItems (["Pass" , "Warning" , "Critical" ])
492- #ephys_desc_label = QtGui.QLabel("Describe problem with recording")
493482
494483 self .desc_buttons = QtWidgets .QButtonGroup ()
495484 self .desc_group = QtWidgets .QGroupBox ("Describe problem with recording" )
@@ -780,4 +769,4 @@ def handleItemPressed(self, index):
780769 if item .checkState () == QtCore .Qt .Checked :
781770 item .setCheckState (QtCore .Qt .Unchecked )
782771 else :
783- item .setCheckState (QtCore .Qt .Checked )
772+ item .setCheckState (QtCore .Qt .Checked )
0 commit comments