Skip to content

Commit

Permalink
better docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymcrae committed Jun 11, 2020
1 parent 2ae4c36 commit 7a61e6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def build_zstd():
description='Package for loading data from bgen files',
long_description=io.open('README.md', encoding='utf-8').read(),
long_description_content_type='text/markdown',
version='1.1.10',
version='1.2.0',
author='Jeremy McRae',
author_email='[email protected]',
license="MIT",
Expand Down
6 changes: 4 additions & 2 deletions tests/test_bgenfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def test_fetch(self):
self.assertTrue(list(bfile.fetch('02')) == [])

def test_fetch_whole_chrom(self):
''' fetching just with chrom gives all variants on chromosome
'''
chrom, start, stop = '01', 5000, 50000
bfile = BgenFile(self.folder / 'example.16bits.bgen')

Expand All @@ -122,7 +124,7 @@ def test_fetch_whole_chrom(self):
self.assertEqual(x.pos, y.pos)

def test_fetch_after_position(self):
'''
''' fetching variants with chrom and start gives all variants after pos
'''
chrom, start, stop = '01', 5000, 50000
bfile = BgenFile(self.folder / 'example.16bits.bgen')
Expand All @@ -135,7 +137,7 @@ def test_fetch_after_position(self):
self.assertEqual(x.pos, y.pos)

def test_fetch_in_region(self):
'''
''' fetching variants with chrom, start, stop gives variants in region
'''
chrom, start, stop = '01', 5000, 50000
bfile = BgenFile(self.folder / 'example.16bits.bgen')
Expand Down

0 comments on commit 7a61e6c

Please sign in to comment.