-
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
Deprecate LegacyND2Reader #4030
Conversation
This reader depends on an outdated DLL which has not been built in years, is untested and fully superseded by the new NativeND2Reader
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Option 4, 3, 2, 1 would be my order of preference for handling ND2Reader
.
We will also want to add warnings to the format pages for each of these similar to Woolz ome/bio-formats-documentation#308 |
Adding to Monday's agenda, we should decide on our removal strategy - see #4030 (review). In particular if we decide to go with option 3 or and 4, I could add a commit to annotate the classes that will be renamed with |
Brief discussion of an additional option:
It's not a strong opinion, but as came out in the chat, I would tend to opt for the least breaking change (but perhaps only since if I started letting myself adjust namings, I probably wouldn't stop... 😉) So a slight preference for 1 (with a warning if anyone chooses |
Summarizing the weekly discussion, the preferred option seems to be migrate the In all cases, this means |
This reader depends on an outdated DLL which has not been built in years, is untested and fully superseded by the new NativeND2Reader
In addition to the Java reader, the following components are scheduled for removal in Bio-Formats 7:
lib/LegacyND2Reader.dll
components/formats-gpl/src/loci/formats/in/loci_formats_in_LegacyND2Reader.cpp
components/formats-gpl/src/loci/formats/in/loci_formats_in_LegacyND2Reader.h
Possibly biggest question is whether we want to keep the delegation logic implemented in
ND2Reader
which allows to select between theLegacyND2Reader
andNativeND2Reader
. Listing a series of options briefly discussed with @melissalinkert are:bioformats/components/formats-gpl/src/loci/formats/in/ND2Reader.java
Line 47 in 971fb34
NativeND2Reader
.ND2Reader
but have it simply extendNativeND2Reader
ND2Reader
and updatereaders.txt
to useNativeND2Reader
NativeND2Reader
asND2Reader
Given this is a backwards-incompatible change, my personal preference would go towards options 3 or 4 but definitely open to feedback. In case we go for the latter options, we might want to add other deprecation flags to some of these classes