Closed bruvellu closed 1 year ago
@bruvellu That error is intriguing indeed!
CC @sbesson @dgault @melissalinkert @joshmoore to loop them in, since it is not clear whether the bug-fix will need to be on the Bio-Formats side or the ImageJ side.
@bruvellu : that error suggests that one of the underlying .tiff or .stk files could not be read. Are you able to open all of the planes in the dataset without a virtual stack, using the Specify range for each series
option to open a subset of planes at a time?
Hi @ctrueden and @melissalinkert,
Yes, I'm able to open the datasets without a virtual stack. I also managed to save every individual series from virtual to TIFF, so it looks like all the .stk files are readable (as long as I don't pass the mouse over another window during the saving). Could it be that the mouse hovering confuses ImageJ as to which virtual slice it should be loading/writing?
Cheers
The only additional thought that occurs to me is if this isn't a concurrency issue. If the call to save
has a reader instance and the mouse over event attempts some setting on the same reader, the call to openBytes
might catch the reader with its pants down.
I have managed to reproduce the same issue, though I have not yet found the root cause of the problem. Iw ill try and test some more to see if I can locate the issue. I suspect it is going to be specific to the Bio-Formats virtual stack.
I have copied the issue to the Bio-Formats repo as I have been unable to reproduce with a standard Tiff Virtual Stack, so it indeed appears to be related specifically to Bio-Formats. You can close this ImageJ Issue in favour of the new Bio-Formats Issue.
Great, thanks @dgault!
Hello,
I ran into an intriguing error while saving a virtual Metamorph stack to TIFF. If I pass the mouse over another window (also a virtual stack), the saving fails with an exception
Current file should not be null
(see below).It appears to be specific to the Metamorph format; it doesn't happen while saving a regular TIFF virtual stack to file. The dataset is a timelapse with multiple positions and slices. I can provide a subset if needed for debugging.
Steps:
.nd
) file using Bio-FormatsScreencast:
Screencast from 31-07-23 15:52:36.webm
Exception:
Cheers, Bruno