Skip to content

Commit

Permalink
update conditional post-rebase to ensure limit updates don't enter sp…
Browse files Browse the repository at this point in the history
…ectrum wide conversion condition
  • Loading branch information
gibsongreen committed May 30, 2024
1 parent e1401ba commit 462df24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdaviz/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def to_unit(self, data, cid, values, original_units, target_units):
else:
eqv = []
# Ensure a spectrum passed through Spectral Extraction plugin
if '_pixel_scale_factor' in spec.meta:
if '_pixel_scale_factor' in spec.meta and len(values) != 2:

# Data item in data collection does not update from conversion/translation.
# App wide original data units are used for conversion, original and
Expand Down

0 comments on commit 462df24

Please sign in to comment.