Closed DavidStirling closed 10 months ago
This is very likely due to the use of Memoizer.DEFAULT_MINIMUM_ELAPSED
in this block:
That constant's value is 100
(https://github.com/ome/bioformats/blob/develop/components/formats-bsd/src/loci/formats/Memoizer.java#L344) which indicates that if initialization took less than 100ms a memo file will not be generated. The idea is that for very fast initializations, saving/loading a memo file would be slower than just reinitializing the file as normal.
Do you see the expected behavior with a plate or other larger/more complex input dataset?
@melissalinkert You're absolutely correct, turns out that most of my larger files just initialize very quickly.
To prevent future confusion, do you think it might be worth updating this line in the docs:
During conversion, a temporary .*.bfmemo file will be created
to
During conversion, a temporary .*.bfmemo file may be created
?
Running the following command:
The resulting zarr is produced as expected, but I don't seem to get any
.bfmemo
files saved to the specified directory. Instead I get an empty folder generated at/Users/david/Downloads/ngff-con-testing/working/Users/david/Downloads/ngff-con-testing/source
and nothing else in the memo directory. There aren't any hidden files present. I get the same result with a few different images.I'm not sure if I'm misunderstanding what the settings do or if something isn't working correctly.