-
Notifications
You must be signed in to change notification settings - Fork 241
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: reader selection issue #2309
Comments
btw this would also fix my (yet unanswered) question on the OME-users mailing list a while ago: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2016-March/005886.html |
Hi Thomas,
To be precise, as a result of the PR linked above, the config-specific metadata is actually parsed directly from the TIFF tag and not the metadata file. But you are right that the
On a technical level, how a reader is selected for a given fileset is defined via rules implemented in
As mentioned in #2213 (comment), the main caveat of such a proposal is that it has larger implications in terms of support and maintenance of readers for any custom use of the OME-TIFF specification in the community and the cost of doing so is simply too high. Adding proper extension points for extended metadata like the acquisition one defined by Micro-Manager is certainly on the OME roadmap but implementing it still requires some discussion and scoping.
Some suggestions have been proposed in the answer to your post. Did you have any chance to explore any of these options and see if they would fit your purposes? Best, |
Thanks for the clarifications. I guess that fixing the reader inconsistency discussed in #2308 (comment) will greatly simplify the situation!
Not sure that I really understand the problem here. I was not asking to extend the OME-TIF reader, rather to use the MM reader for those datasets. I now realise that this can be done using an importer option. Also, thanks for pointing me to josh's answer on the ome-user mailing list: i unfortunately overlooked it :( Thomas |
No worries about the thread. Closing this reader selection issue as #2314 should unify the behavior. |
still commenting on a closed issue. hope it's not considered a terrible practice :( Now that i've become a bit more familiar with the way OME-TIF is used by MM, I might be able to phrase a better request. What I find very confusing is that the active series is always the first one independent on which file has been given as input. Thanks, |
Hi Thomas, no worries. The issue is mostly closed to remind us the multiple reader selection issue was addressed. Keeping the discussion opened for new proposed designs is completely fine. At the moment, the strategy is to have the default series set to 0 at initialization across readers. We can certainly see your viewpoint but it has a few downsides at the Bio-Formats level:
In the meantime, as you started in #2308 (comment), implementing a macro/wrapper to solve your use case might be the easiest. Note you could also use of the FormatReader#getSeriesUsedFiles() API to list all files used by a given series and compare it to the current id. Best, |
Hello,
Following your fixes to parse config-specific metadata in MM datasets, I realised that I really don't understand why you rely on the *_metadata.txt in order to parse the config-specific metadata…
In fact (and as we discussed at large), the exact same metadata is present in the TIF tag 51123 of the tif files… Did I get it right that you want to keep the OME-TIF reader as the default one for full MM datasets, i.e. when the input path is the first file of the dataset? If this is the case, this comes with 2 major drawbacks:
Could we come up with a filename pattern criteria that would allow to use the MM reader for MM files (and parse the tif tag 51123)?
Maybe this was already discussed but because I faced this other issue with the new reader and large datasets spread over several files, I couldn't even make sense of this basic choice anymore…
Thank you for your attention. Best,
Thomas
The text was updated successfully, but these errors were encountered: