Skip to content

Commit

Permalink
line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Feb 11, 2025
1 parent 4ea76d0 commit ab36fe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jdaviz/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,8 @@ def _link_new_data(self, reference_data=None, data_to_be_linked=None):
linked_data = dc[data_to_be_linked] if data_to_be_linked else dc[-1]
default_refdata_index = 0
if (self.config == 'mosviz' or
(self.config == "specviz2d" and linked_data.meta.get("Plugin", "") == "Model Fitting")):
(self.config == "specviz2d" and
linked_data.meta.get("Plugin", "") == "Model Fitting")):
# In Mosviz, first data is always MOS Table. Use the next data.
# In Specviz2d, always link model fit to derived 1D Spectrum, not input 2D spectrum.
default_refdata_index = 1
Expand Down

0 comments on commit ab36fe0

Please sign in to comment.