Skip to content

Commit

Permalink
Don't duplicate renamed subset in export plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Dec 26, 2024
1 parent fe0f198 commit 5b69487
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jdaviz/core/template_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2056,6 +2056,10 @@ def is_not_annulus(subset):
return super()._is_valid_item(subset, locals())

def _update_subset(self, subset, attribute=None):
if attribute == 'label':
# We handle this in _rename_subset
return

if (attribute == 'subset_state' and
((self.is_multiselect and subset.label in self.selected)
or (subset.label == self.selected))):
Expand Down

0 comments on commit 5b69487

Please sign in to comment.