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

Disallowlist for visible commands? #31

Open
tferr opened this issue Jun 11, 2023 · 3 comments
Open

Disallowlist for visible commands? #31

tferr opened this issue Jun 11, 2023 · 3 comments
Assignees

Comments

@tferr
Copy link

tferr commented Jun 11, 2023

This pertains to morphonets/SNT#174:

In order to be discovered by napari-imagej, SNT commands need to be visible, but doing so makes them appear as SwingSearchBar search results. However, running these commands from the SearchBar won't make much sense since the inputs won't be properly defined, since they are set from SNT itself.

Is there a way around this? Perhaps flagging them somehow as 'non-ImageJ-registered' commands?

@ctrueden
Copy link
Member

Sorry @tferr @gselzer, I don't understand what the problem is.

What does it mean for a command to be "visible" to napari-imagej? Appear in napari-imagej's search bar? The napari-imagej search bar is the SciJava search bar, the same stuff appears in both. Why would you want these SNT commands to appear in the napari-imagej search bar, but not appear in the Fiji search bar? Can you give me an example of which commands we're talking about, and how a workflow using them should work?

@tferr
Copy link
Author

tferr commented Jun 11, 2023

I probably did not explain the problem well. The original problem is described here: imagej/napari-imagej#262 (sorry for not linking to it), and it relates to the commands not being accessible from napari-imagej.

@ctrueden
Copy link
Member

Thanks @tferr for the additional explanation. I'll look this over more carefully tomorrow morning (EU time), and reply back then with my opinion on how to proceed.

@ctrueden ctrueden self-assigned this Jun 11, 2023
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