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=7f85f82bcb01134b7398f0d26b9d1b9a21a3e66c;hpb=1880a0e7e45766a58e2b42c59d6993cb543e4538 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: