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

Extend CLI #105

Open
1 of 3 tasks
berombau opened this issue Jun 5, 2023 · 0 comments
Open
1 of 3 tasks

Extend CLI #105

berombau opened this issue Jun 5, 2023 · 0 comments

Comments

@berombau
Copy link
Collaborator

berombau commented Jun 5, 2023

The napari CLI has support for loading one or more plugins. Supporting this fully is beneficial as this is what new users with napari experience will expect.

When combining CLI options, we would expect being able to open a dataset and also open the View or Scatter plugin. The following now opens two separate windows instead of one, because a new viewer instead of the current one is used.

napari -w napari-spatialdata View --plugin napari-spatialdata '/Users/benjaminr/Documents/GitHub/napari-spatialdata/data/cosmx/data.zarr'
  • bug for -w and --plugin

Right now, python -m napari-spatialdata view <path> and napari --plugin napari-spatialdata <path> have the same behavior. But the first case could in the future support more advanced behavior (combining multiple datasets, filtering...).

  • Support CLI for multiple datasets
  • Support filtering SpatialData elements
berombau added a commit that referenced this issue Jun 5, 2023
Closes first issue in #105: bug for -w and --plugin.
rahulbshrestha added a commit that referenced this issue Jun 13, 2023
* Update _interactive.py

Closes first issue in #105: bug for -w and --plugin.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Wouter-Michiel Vierdag <[email protected]>
Co-authored-by: Rahul Shrestha <[email protected]>
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

1 participant