Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
minor bug when opening saved stim tuning plot
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalkolar committed May 4, 2021
1 parent 77cbe37 commit e8eb007
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mesmerize/plotting/widgets/stimulus_tuning/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ def fill_control_widget(self, data_columns: list, categorical_columns: list, uui
'Plot error. Make sure you have selected appropriate data columns and parameters'
)
def update_plot(self, *args, **kwargs):
if self.control_widget.ui.listWidget_rois.currentItem() is None:
return

roi_ix = self.control_widget.ui.listWidget_rois.currentItem().text()
uuid_curve = self.roi_uuid_map[roi_ix]

Expand Down

0 comments on commit e8eb007

Please sign in to comment.