-
Notifications
You must be signed in to change notification settings - Fork 4
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
Programmatically calling search results #241
Comments
@kephale you can get much of this functionality from pyimagej, but there's of course additional value in the processing napari-imagej adds on top of pyimagej. And @ctrueden asks for a lot of this functionality in #208 - the functionality is, like you say, too tied in to the GUI. A better separation of functionality from UI is already on the docket! What's your use case here? I really want to support stuff like this - I'm just not sure whether it is napari-imagej's job or pyimagej's job to do it. |
I'm trying to port workflows from purely being run within Fiji to being run as Python scripts, so I'm starting with a skeleton script that sets up an endpoint, then incrementally adding/tweaking code line-by-line. I think the main thing I want is to have Python functions that correspond to IJ2 More on using pyimagej+napari-imagej in another issue. |
@gselzer Is it possible to make use of napari-imagej's layer conversion logic programmatically by using |
Yup, all you have to do is register the converters (either by letting napari-imagej install them for you by calling |
OK, so @kephale's script could use |
As part of my work on #265, I'm creating a |
I was hoping to programmatically make calls to commands/scripts with napari-imagej.
I've read up to
ResultRunner
,jc.SearchResult
, andpython_actions_for
but it looks like search is pretty directly connected to the UI.Is there a way to do something like:
The text was updated successfully, but these errors were encountered: