scijava-common icon indicating copy to clipboard operation
scijava-common copied to clipboard

Fix duplicate entries in input selectors

Open hinerm opened this issue 5 months ago • 3 comments

This PR represents an alternative to this PR attempting to fix the duplicates earlier in the framework.

However, this does create a problem if the converters themselves consistently create new items. For example, this is what happens when running a trivial script multiple times:

//@ImagePlus in1
//@ImagePlus in2

println(in1)
println(in2)

image

This could be a bug in particular converters (ImageTitleToImagePlusConverter is a likely suspect) but it does raise a concern of potential behavior for other converters, too.

hinerm avatar Sep 06 '24 19:09 hinerm