From 4350d67ebee9e99f0739e75e5a86eee7fbe1672c Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Tue, 7 Sep 2021 21:57:34 +0100 Subject: [PATCH] Update index of spectral axis in 2D spectrum linking --- jdaviz/configs/mosviz/plugins/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdaviz/configs/mosviz/plugins/parsers.py b/jdaviz/configs/mosviz/plugins/parsers.py index d593939c47..0a58c0707d 100644 --- a/jdaviz/configs/mosviz/plugins/parsers.py +++ b/jdaviz/configs/mosviz/plugins/parsers.py @@ -145,7 +145,7 @@ def link_data_in_table(app, data_obj=None): wc_spec_1d = app.session.data_collection[spec_1d].world_component_ids wc_spec_2d = app.session.data_collection[spec_2d].world_component_ids - wc_spec_ids.append(LinkSame(wc_spec_1d[0], wc_spec_2d[0])) + wc_spec_ids.append(LinkSame(wc_spec_1d[0], wc_spec_2d[1])) app.session.data_collection.add_link(wc_spec_ids)