You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a fresh environment to test something in jdaviz, but I forgot to install photutils. Then when I tried to open up the aperture photometry plugin, I get the following rather misleading error:
The confusing thing being the "No data available", when, as the screenshot shows, there's clearly data. If I re-do it with photutils installed it correctly shows the data sets present.
How to Reproduce
Install jdaviz but not photutils
Start imviz, load some image
Open the aperture photometry plugin
Expected behavior
I would have expected some sort of "photutils not installed" message in the plugin.
Aperture requires a subset to exist. We don't set the "No data available text", but I can see how that is very misleading, perhaps we can try to override it. Or if there are no values, instead of showing the dropdown, show a warning alert in its place.
I don't think you can even import jdaviz without photutils, although we could do what we do for footprints and allow importing and just disable the plugin (with a warning in the UI).
Jdaviz component
Imviz
Description
I created a fresh environment to test something in jdaviz, but I forgot to install
photutils
. Then when I tried to open up the aperture photometry plugin, I get the following rather misleading error:The confusing thing being the "No data available", when, as the screenshot shows, there's clearly data. If I re-do it with photutils installed it correctly shows the data sets present.
How to Reproduce
Expected behavior
I would have expected some sort of "photutils not installed" message in the plugin.
Browser
No response
Jupyter
IPython : 8.16.0
ipykernel : 6.25.2
ipywidgets : 8.1.1
jupyter_client : 7.0.6
jupyter_core : 5.3.2
jupyter_server : 1.24.0
jupyterlab : 4.0.6
nbclient : 0.8.0
nbconvert : 7.8.0
nbformat : 5.9.2
notebook : 7.0.4
qtconsole : 5.4.3
traitlets : 5.10.1
Software versions
Python 3.11.5 (main, Sep 2 2023, 14:16:33) [GCC 13.2.1 20230801]
The text was updated successfully, but these errors were encountered: