]> git.donarmstrong.com Git - bamtools.git/commit
Gracefully handle empty files with the BamMultiReader
authorErik Garrison <erik.garrison@bc.edu>
Mon, 21 Jun 2010 15:56:39 +0000 (11:56 -0400)
committerErik Garrison <erik.garrison@bc.edu>
Mon, 21 Jun 2010 15:56:39 +0000 (11:56 -0400)
commit0108fd0bf864c11355a3c7e39d33dcf6d7a149d2
treee3104d03d5e8c441cc8410a564453fa6af7e40aa
parent12c10ab962401b7da243d59cba821a8bb06d65ec
Gracefully handle empty files with the BamMultiReader

This commit handles the case where an empty BAM file is passed in the
list of filenames given to BamMultiReader::Open(...).  Now a warning is
emitted if the file contains no alignments (or cannot be opened) and the
file is ignored.
BamMultiReader.cpp