We're Hiring!

Nd file error in Bioformat 5.1.6

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Nd file error in Bioformat 5.1.6

Postby phm » Tue Nov 17, 2015 10:37 am

Hi,

I can't open nd files with bioformat 5.1.6

(Fiji Is Just) ImageJ 2.0.0-rc-42/1.50d; Java 1.7.0_80 [64-bit]; Linux 4.2.0-18-generic; 43MB of 22398MB (<1%)

java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
at java.math.BigDecimal.divide(BigDecimal.java:1616)
at loci.formats.in.MetamorphReader.initFile(MetamorphReader.java:810)
at loci.formats.FormatReader.setId(FormatReader.java:1426)
at loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:505)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:143)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:212)
at ij.IJ.runPlugIn(IJ.java:176)
at ij.IJ.runPlugIn(IJ.java:165)
at HandleExtraFileTypes.openImage(HandleExtraFileTypes.java:499)
at HandleExtraFileTypes.run(HandleExtraFileTypes.java:72)
at ij.IJ.runUserPlugIn(IJ.java:212)
at ij.IJ.runPlugIn(IJ.java:176)
at ij.IJ.runPlugIn(IJ.java:165)
at ij.io.Opener.openWithHandleExtraFileTypes(Opener.java:503)
at ij.io.Opener.openImage(Opener.java:369)
at ij.io.Opener.openImage(Opener.java:243)
at ij.io.Opener.open(Opener.java:110)
at ij.io.Opener.openMultiple(Opener.java:218)
at ij.plugin.Commands.run(Commands.java:25)
at ij.IJ.runPlugIn(IJ.java:182)
at ij.Executer.runCommand(Executer.java:136)
at ij.Executer.run(Executer.java:65)
at java.lang.Thread.run(Thread.java:745)



Philippe
phm
 
Posts: 185
Joined: Tue Mar 19, 2013 3:39 pm

Re: Nd file error in Bioformat 5.1.6

Postby sbesson » Tue Nov 17, 2015 11:05 am

Hi Philippe,

thanks for the bug report, this error seems to have been caused by the changes https://github.com/openmicroscopy/bioformats/pull/1966 which were included in Bio-Formats 5.1.5. However, none of the Metamorph files in our data repository shows this error which is why we did not catch this bug as part of our daily testing.

In order for us to provide a bug fix, would it be possible for you to upload a sample file at http://qa.openmicroscopy.org.uk/qa/upload/?

Best regards,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: Nd file error in Bioformat 5.1.6

Postby phm » Tue Nov 17, 2015 11:18 am

sbesson wrote:Hi Philippe,

thanks for the bug report, this error seems to have been caused by the changes https://github.com/openmicroscopy/bioformats/pull/1966 which were included in Bio-Formats 5.1.5. However, none of the Metamorph files in our data repository shows this error which is why we did not catch this bug as part of our daily testing.

In order for us to provide a bug fix, would it be possible for you to upload a sample file at http://qa.openmicroscopy.org.uk/qa/upload/?

Best regards,
Sebastien


Hi Sebastien,

The files have uploaded, ID=16907

Philippe
phm
 
Posts: 185
Joined: Tue Mar 19, 2013 3:39 pm

Re: Nd file error in Bioformat 5.1.6

Postby sbesson » Tue Nov 17, 2015 10:39 pm

Thanks Philippe,

we'll take a look at the files and get back to you soon.

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: Nd file error in Bioformat 5.1.6

Postby dgault » Wed Nov 18, 2015 11:12 am

Hi Philippe,

Thanks again for reporting this issue and uploading sample files. The issue was indeed caused by updates we made to the Metamorph reader in Bio-Formats 5.1.5

I have submitted the following PR to resolve the issue which should be included in the next Bio-Formats release 5.1.7:
https://github.com/openmicroscopy/bioformats/pull/2102


With Thanks,
David
User avatar
dgault
Team Member
 
Posts: 208
Joined: Fri Aug 14, 2015 2:56 pm


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest