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

Richard Holland holland at ebi.ac.uk
Tue Apr 10 10:09:04 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AFAIK the Zip algorithm is just LZW with bells on, so it should produce
exactly the same results.

Chris Dagdigian wrote:
> 
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> biojava-dev mailing list
> biojava-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGG2JA4C5LeMEKA/QRAjutAJ9cZbqpoag2Z5aQd4gbOAiMm78VZACdHzER
UoIhheyTE1805rMBzG4R+Q0=
=hfN2
-----END PGP SIGNATURE-----



More information about the biojava-dev mailing list