[Biojava-dev] Fwd: Bug in org/biojava/utils/io/UncompressInputStream.java

Chris Dagdigian dag at sonsorol.org
Sat Apr 7 01:52:01 UTC 2007


Passing on this email that came to me ...

Regards,
Chris Dagdigian
OBF


Begin forwarded message:

> From: "Miguel Duarte" <malduarte at gmail.com>
> Date: April 6, 2007 2:16:52 PM EDT
> To: dag at sonsorol.org
> Subject: Bug in org/biojava/utils/io/UncompressInputStream.java
>
> Hi Chris,
>
>> From http://sourceforge.net/project/shownotes.php? 
>> release_id=314770&group_id=18598,
> i've learned that you're maintaining the class
> org/biojava/utils/io/UncompressInputStream.java. If that's not the
> case please forward this mail to the maintainer.
>
> I've discovered a nasty bug: With some read block sizes the algorithm
> truncates a few bytes from the end of the stream. I've verified this
> comparing the gzip/uncompress output for some files versus what
> org/biojava/utils/io/UncompressInputStream.java generates.
>
> Unfortunately i've not discovered the bug yet, but i can contribute
> with the attached test case. How to verify the bug:
> uncompress BH_03834.MCR.Z with gzip and with UncompressInputStream and
> compare the results.
>
> Thanks,
> Miguel Duarte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BH_03834.MCR.Z
Type: application/x-compress
Size: 26405 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biojava-dev/attachments/20070406/ed47c294/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uncompressed_by_gzip
Type: application/octet-stream
Size: 81920 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biojava-dev/attachments/20070406/ed47c294/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uncompressed_by_uncompressInputStream
Type: application/octet-stream
Size: 81832 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biojava-dev/attachments/20070406/ed47c294/attachment-0005.obj>
-------------- next part --------------



More information about the biojava-dev mailing list