Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Oct 6, 2023
1 parent bea42dc commit 6d1a207
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jdaviz/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def get_subsets_from_viewer(self, viewer_reference, data_label=None, subset_type
return regions

def get_subsets(self, subset_name=None, spectral_only=False,
region_type='pixel', spatial_only=False, object_only=False,
spatial_only=False, object_only=False,
simplify_spectral=True, use_display_units=False,
include_sky_region=False):
"""
Expand Down Expand Up @@ -1137,8 +1137,7 @@ def _get_roi_subset_definition(self, subset_state, to_sky=False):
"subset_state": subset_state}]

def get_sub_regions(self, subset_state, simplify_spectral=True,
use_display_units=False, get_sub_regions=False,
get_sky_regions=False):
use_display_units=False, get_sky_regions=False):

if isinstance(subset_state, CompositeSubsetState):
if subset_state and hasattr(subset_state, "state2") and subset_state.state2:
Expand Down

0 comments on commit 6d1a207

Please sign in to comment.