jdaviz
jdaviz copied to clipboard
[BUG] Mosviz: redshifts showing as ints instead of floats
Jdaviz component
Mosviz
Description
The command to set the redshift of a single row does not do anything after initially loading a list of spec1ds with no redshift:
set:mosviz.update_column('Redshift', 0.005, row=0)
On the other hand, using this command with an array of values does work:
redshift_guess_array = np.array(redshift_guess)[0:29] mosviz.update_column('Redshift',redshift_guess_array)
The Redshift column in the table is initialized as int64 rather than float, so this may have something to do with it, since my redshifts are <1 and will round to zero.
How to Reproduce
@PatrickOgle can add more if needed.
Expected behavior
No response
Browser
No response
Jupyter
jupyter --version
Software versions
I think @PatrickOgle was on jdaviz 3.4, but I am not sure.
This issue is tracked on JIRA as JDAT-3458.