Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micromanager: better handling of very large *metadata.txt files #3229

Merged
merged 3 commits into from
Oct 4, 2018

Conversation

melissalinkert
Copy link
Member

Backported from a private PR. Originally part of the same PR as ome/ome-common-java#24 (prior to repo split).

Original use case was larger (~7000 plane) datasets acquired using the diSPIM plugin (https://micro-manager.org/wiki/ASIdiSPIM_Plugin). I wasn't able to find a way to run a diSPIM acquisition without a connected instrument, so the closest test data is a 5000 T x 5 Z x 2 C multi-D acquisition with the relevant SPIMmode key added manually.

Complete dataset yet to be uploaded, so not ready for final testing. Once uploaded, showinf -nopix 1.4-large-acq-take-2_1_MMStack_Pos0_metadata.txt without this PR or ome/ome-common-java#24 will require BF_MAX_MEM to be at least 1200 MB. With a build including both PRs, only 900 MB should be required. As 1.4-large-acq-take-2_1_MMStack_Pos0_metadata.txt is 195 MB, a warning should be logged indicating that the file may require additional memory.

Tests should continue to pass with existing Micromanager data; memo files will be affected.

Conflicts:
	components/formats-bsd/src/loci/formats/in/MicromanagerReader.java

Conflicts:
	components/formats-bsd/src/loci/formats/in/MicromanagerReader.java
@melissalinkert
Copy link
Member Author

@dgault
Copy link
Member

dgault commented Oct 4, 2018

Builds and tests have been unaffected by this PR. Using the suggested test files without this PR required BF_MAX_MEM of 1200 MB. With this PR included it required 900 MB and a warning was logged with regard the requirement for extra memory.

PR is good to merge.

@dgault dgault merged commit b1163d6 into ome:develop Oct 4, 2018
@sbesson
Copy link
Member

sbesson commented Oct 4, 2018

Does this fix require ome/ome-common-java#24? In which case should we merge the PR, cut a patch release of org.openmicroscopy:ome-common cut and bump it in this repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants