Skip to content

Commit

Permalink
Fix check to be more general
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Dec 24, 2024
1 parent 4e1a694 commit 79ee99a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ 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):
if isinstance(subset_data.subset_state, MaskSubsetState):
# Ignore MaskSubsetState here
continue

Expand Down

0 comments on commit 79ee99a

Please sign in to comment.