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

Problem running plugin (Bug) #88

Open
ArtGP-79 opened this issue Oct 2, 2024 · 3 comments
Open

Problem running plugin (Bug) #88

ArtGP-79 opened this issue Oct 2, 2024 · 3 comments

Comments

@ArtGP-79
Copy link

ArtGP-79 commented Oct 2, 2024

Hello!

I was trying to run the plugin when I ran into an error that didn't let me continue with my analysis pipeline. I talk about the error more in depth in a post on Image.sc: https://forum.image.sc/t/problem-running-napari-skimage-regionprops-plugin/103227?u=artgp

Someone from the forum helped me find what could be the reason for the problem, so I will leave the error traceback and his reply attached:

I hope this helps in fixing a small bug that has happened to me :)
Don't hesitate in reaching back to me for more questions and when the bug is fixed ;)

Kind regards,

ArtGP-79.

@zoccoler
Copy link
Collaborator

zoccoler commented Oct 2, 2024

Hi @ArtGP-79 ,

Thanks for creating this issue! I will take a look into it, offer a fix and ping you back here.
Please understand that, although the fix should be simple, it may take me a few days to properly test it and apply changes since we open source developers work also in other projects in parallel.

Best,
Marcelo

@ArtGP-79
Copy link
Author

Hello @zoccoler,

Hope everything is going well.
Following your comments on the image.sc forum, since the Pull request has already been merged, can I try downloading the developer version of the plugin to test if it works? Also, what would I have to do to 'clone' the repository, I don't understand what this means.

Kind regards,

ArtGP-79.

@zoccoler
Copy link
Collaborator

Hi @ArtGP-79 !

Yes, so if you are familiar with git and conda, I would recommend to create a new conda environment (check some information on how to do this here and here, this second one shows a command that will also install devbio-napari and it uses mamba instead of conda which is a faster version in summary).

Basically, you type this:

conda create -n my_env python=3.9
conda activate my_env

Then run the following commands after activating that environment:

git clone https://github.com/haesleinhuepf/napari-skimage-regionprops
cd napari-skimage-regionprops
pip install .

The first command clones the repository yo your computer in the path specified in your terminal.
The second opens the cloned repository folder.
The third install the version you just cloned into your environment. The . means install the contents of this current folder.

If you are unfamiliar to git, you could click on the green button "Code" in the main page of this repository and choose download as zip. Then unzip it somewhere in your computer and remember where you put it. However, to install, I would still recommend to create a conda environment. So, after creating the environment, you have to navigate to where you unziped the repository using a terminal and cd commands to then also type:

pip install .

One way or the other, you should have the development version (the one you cloned) installed in your environment instead of the latest release.

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

No branches or pull requests

2 participants