Skip to content

Commit

Permalink
{AH} fix typo in test, update NEWS and release.rst for release
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasHeger committed Jul 28, 2018
1 parent 0720fbf commit 9d83174
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
11 changes: 11 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ http://pysam.readthedocs.io/en/latest/release.html
Release notes
=============

Release 0.15.0
==============

This release wraps htslib/samtools/bcftools version 1.9.0.

* [#673] permit dash in chromosome name of region string
* [#656] Support `text` when opening a SAM file for writing
* [#658] return None in get_forward_sequence if sequence not in record
* [#683] allow lower case bases in MD tags
* Ensure that = and X CIGAR ops are treated the same as M

Release 0.14.1
==============

Expand Down
6 changes: 6 additions & 0 deletions doc/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ Release notes
Release 0.15.0
==============

This release wraps htslib/samtools/bcftools version 1.9.0.

* [#673] permit dash in chromosome name of region string
* [#656] Support `text` when opening a SAM file for writing
* [#658] return None in get_forward_sequence if sequence not in record
* [#683] allow lower case bases in MD tags
* Ensure that = and X CIGAR ops are treated the same as M

Release 0.14.1
==============
Expand Down
2 changes: 1 addition & 1 deletion tests/AlignmentFilePileup_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def testStart(self):
def testTruncate(self):
'''see issue 107.'''
# note that ranges in regions start from 1
p = self.samfile.pileup(region='chr1:170:172', truncate=True)
p = self.samfile.pileup(region='chr1:170-172', truncate=True)
columns = [x.reference_pos for x in p]
self.assertEqual(len(columns), 3)
self.assertEqual(columns, [169, 170, 171])
Expand Down

0 comments on commit 9d83174

Please sign in to comment.