X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=pysam.git;a=blobdiff_plain;f=pysam%2F__init__.py;fp=pysam%2F__init__.py;h=282ef290770aad31aa1bbba8c3ebd1e1759263ab;hp=9f257c210eca878b0f0039b40f724f3482937284;hb=60ebdbf39a4edd41ddda671b2d2d4442cf4468db;hpb=6a7c3f175b210cc16d09a5e8e4c1d47333dbe1c6 diff --git a/pysam/__init__.py b/pysam/__init__.py index 9f257c2..282ef29 100644 --- a/pysam/__init__.py +++ b/pysam/__init__.py @@ -55,7 +55,10 @@ class SamtoolsDispatcher(object): # Ignore messages like these stderr = [ x for x in stderr \ if not x.startswith( "[sam_header_read2]" ) or \ - x.startswith("[bam_index_load]") ] + x.startswith("[bam_index_load]") or \ + x.startswith("[bam_sort_core]") or \ + x.startswith("[samopen] SAM header is present") + ] if stderr: raise SamtoolsError( "\n".join( stderr ) ) # call parser for stdout: