haesleinhuepf / napari-workflows

BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

Ambiguous Determination of what arguments of the functions in workflows are images #18

Open Cryaaa opened 2 years ago

Cryaaa commented 2 years ago

Since the sources_of function assumes that all arguments of a function which are strings are images this might cause problems with functions which have other strings as argument values (i. e. for selecting an algorithm or similar). It should be possible to save with arguments are images when setting the workflow step since at this step the user knows which arguments are images.

haesleinhuepf commented 2 years ago

I see two ways for doing this: