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

Leica LIF 4_1 #50

Merged
merged 4 commits into from
Apr 15, 2012
Merged

Leica LIF 4_1 #50

merged 4 commits into from
Apr 15, 2012

Conversation

melissalinkert
Copy link
Member

Prevent various NullPointerExceptions and OME-XML validation issues when reading Leica LIF files in 4.1.x.

String gainValue = attributes.getValue("Gain");
String offsetValue = attributes.getValue("Offset");

Float gain = gainValue == null ? null : new Float(gainValue);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessarily for dev_4_1, but perhaps something that would be good to put in the BaseHandler class a la getFloat(Attributes attrs, String name)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chris-allan added a commit that referenced this pull request Apr 15, 2012
@chris-allan chris-allan merged commit 8c66b59 into ome:dev_4_1 Apr 15, 2012
hflynn pushed a commit to hflynn/bioformats that referenced this pull request Oct 11, 2013
Fix target configuration (latexpdf, man, texinfo)
melissalinkert pushed a commit to melissalinkert/bioformats that referenced this pull request Jan 11, 2018
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.

None yet

3 participants