Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add napari to the environment.yml #70

Open
tischi opened this issue Nov 2, 2023 · 6 comments
Open

add napari to the environment.yml #70

tischi opened this issue Nov 2, 2023 · 6 comments
Labels
question Further information is requested

Comments

@tischi
Copy link
Collaborator

tischi commented Nov 2, 2023

No description provided.

@tischi
Copy link
Collaborator Author

tischi commented Nov 2, 2023

Is there a reason not to have napari in the list?

@tischi tischi added the question Further information is requested label Nov 2, 2023
@tischi
Copy link
Collaborator Author

tischi commented Nov 2, 2023

I think if napari is available it should default to using this as a viewer; we would need to adapt the prompt accordingly.

@haesleinhuepf
Copy link
Owner

haesleinhuepf commented Nov 2, 2023

Is there a reason not to have napari in the list?

I love using bia-bob in Jupyter-only environments such as on the HPC cluster / Jupyter hub / Google Colab. Napari doesn't work there.

Also Napari is slow and does not deliver insights such as intensity range, datatype etc., compared to stackview.insight that works instantaneously and brings these features.

image

I think if napari is available it should default to using this as a viewer; we would need to adapt the prompt accordingly.

I partially agree. This means we should dive into adapting the system message depending on installed libraries. A fair bit of work, but doable certainly.

@haesleinhuepf
Copy link
Owner

Addendum, this prompt already works fine with bia-bob 0.4.0:

%bob load c:/structure/data/blobs.tif and use napari to show the image

image

@tischi
Copy link
Collaborator Author

tischi commented Nov 2, 2023

OK...

How many dimensions can stackview handle?

I think it errored for me with a 3D+channel image...

I do agree that having a nice and simple inline viewer would be awesome, but I am also afraid that we/you would at some point rewrite napari :-)

Also I think stackview should have a z-slider, should it? I could not get it to work....

@haesleinhuepf
Copy link
Owner

haesleinhuepf commented Nov 2, 2023

Also I think stackview should have a z-slider, should it? I could not get it to work....

Feel free to create issues on stackview's repository. Stackview does have a Z-slider and is supposed to work for 2D/3D-data. I recently added support for RGB-data. 4D-data is rare in my daily work as we typically setup workflows for individual timepoints and later run it on an entire timelapse dataset. But I happy to learn more about your use case. And adding another slider is not a big deal I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants