weigertlab / spotiflow

Accurate and efficient spot detection for microscopy data
https://weigertlab.github.io/spotiflow/
BSD 3-Clause "New" or "Revised" License
61 stars 7 forks source link

Napari plugin not working #16

Closed SebastienTs closed 1 month ago

SebastienTs commented 1 month ago

Describe the bug No output shown when using the Napari plugin while the code works when called from the sample inference Python script from GitHub webpage (same image)

Environment (please complete the following information):

AlbertDominguez commented 1 month ago

Hi @SebastienTs,

This is probably a known bug related to the napari version (see this issue in the plugin repository).

Could you make sure the napari version and the napari-spotiflow versions are at its latest? In any case, running pip install -U "napari[all]" spotiflow napari-spotiflow from the command line interface should suffice as it will install the latest versions for everything. I suggest using a fresh environment if possible, in case other plugins have other napari versions dependencies.

Let me know if that does solve it, otherwise we can take a deeper look!

SebastienTs commented 1 month ago

Indeed, I was still using Napari 0.4.19 which seems incompatible. The plugin works with 0.5.3. Thanks for your help!