Closed rodolakis closed 7 months ago
Traceback (most recent call last): File "/Users/ecodrea/bluesky/mdaviz/mdaviz/select_fields_table_model.py", line 173, in setData self.setCheckbox(index, value) File "/Users/ecodrea/bluesky/mdaviz/mdaviz/select_fields_table_model.py", line 204, in setCheckbox self.checkboxStateChanged.emit(self.plotFields()[0]) ^^^^^^^^^^^^^^^^^ File "/Users/ecodrea/bluesky/mdaviz/mdaviz/select_fields_table_model.py", line 379, in plotFields choices[column_name].append(row)
KeyError: 'Norm'
Lots of errors if you change the variables in the second table
Traceback (most recent call last): File "/Users/ecodrea/bluesky/mdaviz/mdaviz/select_fields_table_model.py", line 173, in setData self.setCheckbox(index, value) File "/Users/ecodrea/bluesky/mdaviz/mdaviz/select_fields_table_model.py", line 204, in setCheckbox self.checkboxStateChanged.emit(self.plotFields()[0]) ^^^^^^^^^^^^^^^^^ File "/Users/ecodrea/bluesky/mdaviz/mdaviz/select_fields_table_model.py", line 379, in plotFields choices[column_name].append(row)
~~~^^^^^^^^^^^^^ KeyError: 'Norm'Lots of errors if you change the variables in the second table
I have not implemented Norm
nor Mon
, so yeah if you click on any of those it is going to crash. I should probably either hide them for now or make sure I handle that case to prevent crashing. Created issue #97