Skip to content

Commit

Permalink
Undo app.py patch
Browse files Browse the repository at this point in the history
so the error will crop back up for other cases
  • Loading branch information
pllim committed Sep 19, 2022
1 parent 46d5ef9 commit 5be2035
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions jdaviz/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1309,11 +1309,7 @@ def _update_selected_data_items(self, viewer_id, selected_items):

# Include any selected data in the viewer
for data_id, visibility in selected_items.items():
data_item = self._get_data_item_by_id(data_id)
if data_item is None:
label = None
else:
label = data_item['name']
label = self._get_data_item_by_id(data_id)['name']

if label is None:
warnings.warn(f"No data item with id '{data_id}' found in "
Expand Down

0 comments on commit 5be2035

Please sign in to comment.