Hello everyone, I'm a member of the tomancak lab now. Since one and a halve weeks now!
@ctrueden / @hinerm Could you please create a new update site https://sites.imagej.net/TomancakLab/ and give access rights to me "Maarzt" and @xulman "xulman"
setBatchMode(true)
: the output images are never created or made available to the user in a way they can be readily accessed in macro code. My guess is that the output parameter processing is not occurring, or is occurring but the data are not 'presented' in a macro accessible way. In a batch mode macro images can normally be accessed with selectImage()
, but no images are available to be selected. Macros run fine with setBatchMode(false)
.
@mdoube Thanks for the report, and sorry to hear of the trouble. I would call this a bug. Regarding whether it's "known": maybe years ago I could have said yes, there is some quirk of the IJ<->IJ2 synchronization with batch mode, but in 2022 I cannot recall, so I'll say no, it's not known. Whether it can be fixed: would need to dig to see whether it's easily fixable, or more systemic. Sorry I can't shed more light on it off the top of my head.
I tried reading the thread you linked, but it's >70 posts long and the last discussion is in Jython, which has diverged from the macro issue. I scanned the entire thread searching for setBatchMode
but couldn't find any post with that command. Is there a particular post number you can link me to that would illustrate the issue?
If you file an issue in imagej-legacy I can probably spend some time digging on Friday, May 27.
If you file an issue in imagej-legacy I can probably spend some time digging on Friday, May 27
@AdrianaPerezgr2_twitter
Hello, i am having problems opening my images. They do not appear as merged, and the following text opens each time with them:
(Fiji Is Just) ImageJ 2.1.0/1.52v; Java 1.8.0_66 [64-bit]; Windows 10 10.0; 90MB of 49027MB (<1%)
java.lang.NoClassDefFoundError: Could not initialize class com.jgoodies.forms.layout.FormSpecs
ETC.... (see image)
Does anyone know how i can fix this? Thank you
Interestingly, I get a HeadlessException
in only one of the two tests, and the other one is failing:
Error: Failures:
Error: BackgroundSubtractionTest.testEqualParameters:75 Pixel values differ on coordinate (0, 0, 0, 0, 0), expected: 1904 actual: 158
Error: Errors:
Error: BackgroundSubtractionTest.testUnequalParameters:82 » Headless
https://github.com/fmi-basel/faim-ij2-ij/runs/6423053171?check_suite_focus=true#step:5:101
IntegerType
! I misread as Integer
.
Which is closed and merged. @gselzer You actually reviewed that PR! imagej/imagej-common#82
Yeah, I thought it was fixed already. I just couldn't find the PR... :sweat_smile:
IntegerToIntType
converter could handle that conversion above