Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Dec 24, 2024
1 parent 03ba4ce commit 4e1a694
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jdaviz/configs/default/plugins/subset_tools/subset_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ def get_regions(self, region_type=None, list_of_subset_labels=None,
subset_data = lyr.layer
subset_label = subset_data.label

if type(subset_data.subset_state) not in (RoiSubsetState, CompositeSubsetState):
# Ignore MaskSubsetState here
continue

try:
if self.app.config == "imviz" and to_sky:
region = roi_subset_state_to_region(subset_data.subset_state,
Expand Down

0 comments on commit 4e1a694

Please sign in to comment.