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

Dependency napari_workflows not specified in requirements or setup.cfg #33

Open
VolkerH opened this issue Sep 13, 2022 · 3 comments
Open

Comments

@VolkerH
Copy link

VolkerH commented Sep 13, 2022

This seems to depend on https://github.com/haesleinhuepf/napari-workflows by @haesleinhuepf, but when installing the plugin, this dependency is not automatically installed.

@haesleinhuepf
Copy link
Member

Hi @VolkerH ,

This seems to depend on [...] napari-workflows

I don't think so. Can you tell us why you think so? 🙃

@VolkerH
Copy link
Author

VolkerH commented Sep 13, 2022

I think so because I got an error message that said it was missing and after installing it it worked :)
However, I just reproduced it and the proplem seems to be one level down the dependency chain, namely in napari_tools_menu. Just pretend I opened the issue there.

File ~/miniconda3/envs/spacem-maldi-control/lib/python3.8/site-packages/napari_tools_menu/__init__.py:95, in make_gui.<locals>.worker_func(*iargs=(<Labels layer 'Labels'>, <Shapes layer 'Shapes'>, Viewer(axes=Axes(visible=False, labels=True, col...ings._transform_active_layer at 0x7fee2b218ee0>})), **ikwargs={})
     93 # determine scale of passed data
     94 scale = None
---> 95 from napari_workflows._workflow import _get_layer_from_data
     96 for passed_data in iargs:
     97     layer = _get_layer_from_data(viewer, passed_data)

ModuleNotFoundError: No module named 'napari_workflows'

@haesleinhuepf
Copy link
Member

Ah, I see. Thanks for reporting @VolkerH ! I'll take care of this in napari-tools-menu.

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