From 3297541b2d0085f9c916c6725e84a33889a1c6ff Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Mon, 8 May 2023 17:34:07 -0400 Subject: [PATCH 1/2] DOC: get_subsets do not return masked subset state --- jdaviz/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdaviz/app.py b/jdaviz/app.py index e04b932c84..e45d8cd846 100644 --- a/jdaviz/app.py +++ b/jdaviz/app.py @@ -845,7 +845,7 @@ def get_subsets(self, subset_name=None, spectral_only=False, spectral_only : bool Return only spectral subsets. spatial_only : bool - Return only spatial subsets. + Return only spatial subsets, except masked subset state (this is unusual). object_only : bool Return only object relevant information and leave out the region class name and glue_state. @@ -856,7 +856,7 @@ def get_subsets(self, subset_name=None, spectral_only=False, ------- data : dict A dict with keys representing the subset name and values as astropy regions - objects + objects. """ dc = self.data_collection From 05d92ec8fe85125149966f7ccd16e6ceeb5d80b5 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Tue, 9 May 2023 10:06:12 -0400 Subject: [PATCH 2/2] Improve docstring verbiage Co-authored-by: Kyle Conroy --- jdaviz/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdaviz/app.py b/jdaviz/app.py index e45d8cd846..dcf38d496d 100644 --- a/jdaviz/app.py +++ b/jdaviz/app.py @@ -845,7 +845,7 @@ def get_subsets(self, subset_name=None, spectral_only=False, spectral_only : bool Return only spectral subsets. spatial_only : bool - Return only spatial subsets, except masked subset state (this is unusual). + Return only spatial subsets, except masked subsets (uncommon). object_only : bool Return only object relevant information and leave out the region class name and glue_state.