From 92783948d95f683f09fd235254d9d5e9928b65c6 Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Mon, 25 Nov 2024 15:50:26 -0500 Subject: [PATCH] Fix type --- jdaviz/configs/cubeviz/plugins/parsers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdaviz/configs/cubeviz/plugins/parsers.py b/jdaviz/configs/cubeviz/plugins/parsers.py index 89a9dd7adf..ec38c6c5a4 100644 --- a/jdaviz/configs/cubeviz/plugins/parsers.py +++ b/jdaviz/configs/cubeviz/plugins/parsers.py @@ -485,8 +485,8 @@ def _parse_spectrum1d_3d(app, file_obj, data_label=None, elif attr == 'uncertainty': app.add_data_to_viewer(uncert_viewer_reference_name, cur_data_label) app._jdaviz_helper._loaded_uncert_cube = app.data_collection[cur_data_label] - elif attry == 'mask': - app._jdaviz_helper._loaded_mask_cube = app.data_collection[data_label] + elif attr == 'mask': + app._jdaviz_helper._loaded_mask_cube = app.data_collection[cur_data_label] def _parse_spectrum1d(app, file_obj, data_label=None, spectrum_viewer_reference_name=None):