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

Fix a couple of compile warnings #247

Closed

Conversation

melissalinkert
Copy link
Member

Noticed while looking at #245. This is in the same spirit as ome/bioformats#4177 (and other PRs linked from there).

Copy link
Member

@sbesson sbesson left a comment

Choose a reason for hiding this comment

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

Tested the conversion of a few sample MIRAX files. Everything works as expected and the metadata is correctly populated under OME/METADATA.ome.xml

Copy link
Member

@chris-allan chris-allan left a comment

Choose a reason for hiding this comment

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

The semantics of new Double() are quite different than DataTools.parseDouble(). Was that also intended or desired here?

@melissalinkert
Copy link
Member Author

The semantics of new Double() are quite different than DataTools.parseDouble(). Was that also intended or desired here?

That was intentional, as using DataTools.parseDouble handles the possibility of a , decimal separator. I can switch it to Double.parseDouble if you prefer, though.

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