diff --git a/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_aperphot.py b/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_aperphot.py index 1e39b7b663..888c7d9659 100644 --- a/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_aperphot.py +++ b/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_aperphot.py @@ -19,7 +19,7 @@ def test_cubeviz_aperphot_cube_orig_flux(cubeviz_helper, image_cube_hdu_obj_micr aper = RectanglePixelRegion(center=PixCoord(x=1, y=2), width=3, height=5) - cubeviz_helper.plugins['Subsets'].import_region(aper) + cubeviz_helper.plugins['Subset Tools'].import_region(aper) # Make sure MASK is not an option even when shown in viewer. cubeviz_helper.app.add_data_to_viewer("flux-viewer", "test[MASK]", visible=True) @@ -115,7 +115,7 @@ def test_cubeviz_aperphot_generated_3d_gaussian_smooth(cubeviz_helper, image_cub cubeviz_helper.app.add_data_to_viewer("uncert-viewer", "test[FLUX] spatial-smooth stddev-1.0") aper = RectanglePixelRegion(center=PixCoord(x=1, y=2), width=3, height=5) - cubeviz_helper.plugins['Subsets'].import_region(aper) + cubeviz_helper.plugins['Subset Tools'].import_region(aper) plg = cubeviz_helper.plugins["Aperture Photometry"]._obj plg.dataset_selected = "test[FLUX] spatial-smooth stddev-1.0" @@ -214,7 +214,7 @@ def test_cubeviz_aperphot_cube_orig_flux_mjysr(cubeviz_helper, aper = RectanglePixelRegion(center=PixCoord(x=3, y=1), width=1, height=1) bg = RectanglePixelRegion(center=PixCoord(x=2, y=0), width=1, height=1) - cubeviz_helper.plugins['Subsets'].import_region([aper, bg], + cubeviz_helper.plugins['Subset Tools'].import_region([aper, bg], combination_mode='new') plg = cubeviz_helper.plugins["Aperture Photometry"]._obj @@ -308,7 +308,7 @@ def test_cubeviz_aperphot_unit_conversions(cubeviz_helper, cubeviz_helper.load_data(cube, data_label="test") # get plugins - st = cubeviz_helper.plugins['Subsets'] + st = cubeviz_helper.plugins['Subset Tools'] ap = cubeviz_helper.plugins['Aperture Photometry']._obj uc = cubeviz_helper.plugins['Unit Conversion']