Skip to content

Commit

Permalink
update moment-map reference_wavelength hint text (spacetelescope#2697)
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry authored and gibsongreen committed Feb 12, 2024
1 parent 4ffaca0 commit 0e47441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ Cubeviz
- Fixed a bug where cube model fitting could fail (endless spinner) if input cube
has invalid 3D WCS. [#2685]

- Clarifies the hint-text for the reference_wavelength input in the moment map plugin. [#2697]

Imviz
^^^^^

Expand Down
2 changes: 1 addition & 1 deletion jdaviz/configs/cubeviz/plugins/moment_maps/moment_maps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
label="Reference Wavelength"
v-model.number="reference_wavelength"
:suffix="dataset_spectral_unit.replace('Angstrom', 'A')"
hint="Rest wavelength of the line of interest"
hint="Central wavelength of the line of interest"
persistent-hint
:rules="[() => reference_wavelength !== '' || 'This field is required',
() => reference_wavelength > 0 || 'Wavelength must be positive']"
Expand Down

0 comments on commit 0e47441

Please sign in to comment.