samtools / htsjdk

A Java API for high-throughput sequencing data (HTS) formats.
http://samtools.github.io/htsjdk/
283 stars 243 forks source link

IOUtil.openFileForMd5CalculatingWriting() puts the md5 file in the wrong place. #1682

Open lbergelson opened 1 year ago

lbergelson commented 1 year ago

It looks like I introduced a bug in IOUtil.openFileForMd5CalculatingWriting(). It appears to resolve filename/.md5 instead of filename.md5. We never noticed because it doesn't have tests.