Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ tests/cbcf_data tests/tabix_data samtools/config.h bcftools/config.g htslib/config.status htslib/config.h htslib/config.log Loading NEWS +24 −15 Original line number Diff line number Diff line Loading @@ -5,10 +5,19 @@ http://pysam.readthedocs.io/en/latest/release.html Release notes ============= Release 0.15.1 ============== Bugfix release. * [#716] raise ValueError if tid is out of range when writing * [#697] release version using cython 0.28.5 for python 3.7 compatibility Release 0.15.0 ============== This release wraps htslib/samtools/bcftools version 1.9.0. This release wraps htslib (and friends) version 1.9. * [#673] permit dash in chromosome name of region string * [#656] Support `text` when opening a SAM file for writing Loading bcftools/config.hdeleted 100644 → 0 +0 −2 Original line number Diff line number Diff line /* empty config.h created by pysam */ /* conservative compilation options */ doc/release.rst +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,15 @@ Release notes ============= Release 0.15.1 ============== Bugfix release. * [#716] raise ValueError if tid is out of range when writing * [#697] release version using cython 0.28.5 for python 3.7 compatibility Release 0.15.0 ============== Loading pysam/libcalignmentfile.pyx +6 −1 Original line number Diff line number Diff line Loading @@ -1713,8 +1713,13 @@ cdef class AlignmentFile(HTSFile): if not self.is_open: return 0 cdef int ret if self.header.ptr.n_targets <= read._delegate.core.tid: raise ValueError( "AlignedSegment refers to reference number {} that " "is larger than the number of references ({}) in the header".format( read._delegate.core.tid, self.header.ptr.n_targets)) cdef int ret with nogil: ret = sam_write1(self.htsfile, self.header.ptr, Loading Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ tests/cbcf_data tests/tabix_data samtools/config.h bcftools/config.g htslib/config.status htslib/config.h htslib/config.log Loading
NEWS +24 −15 Original line number Diff line number Diff line Loading @@ -5,10 +5,19 @@ http://pysam.readthedocs.io/en/latest/release.html Release notes ============= Release 0.15.1 ============== Bugfix release. * [#716] raise ValueError if tid is out of range when writing * [#697] release version using cython 0.28.5 for python 3.7 compatibility Release 0.15.0 ============== This release wraps htslib/samtools/bcftools version 1.9.0. This release wraps htslib (and friends) version 1.9. * [#673] permit dash in chromosome name of region string * [#656] Support `text` when opening a SAM file for writing Loading
bcftools/config.hdeleted 100644 → 0 +0 −2 Original line number Diff line number Diff line /* empty config.h created by pysam */ /* conservative compilation options */
doc/release.rst +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,15 @@ Release notes ============= Release 0.15.1 ============== Bugfix release. * [#716] raise ValueError if tid is out of range when writing * [#697] release version using cython 0.28.5 for python 3.7 compatibility Release 0.15.0 ============== Loading
pysam/libcalignmentfile.pyx +6 −1 Original line number Diff line number Diff line Loading @@ -1713,8 +1713,13 @@ cdef class AlignmentFile(HTSFile): if not self.is_open: return 0 cdef int ret if self.header.ptr.n_targets <= read._delegate.core.tid: raise ValueError( "AlignedSegment refers to reference number {} that " "is larger than the number of references ({}) in the header".format( read._delegate.core.tid, self.header.ptr.n_targets)) cdef int ret with nogil: ret = sam_write1(self.htsfile, self.header.ptr, Loading