Skip to content

Commit

Permalink
Merge branch 'release/v0.1.19'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjvincent committed Nov 30, 2015
2 parents a9c5959 + 33e2461 commit 269e149
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion g2gtools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .bins import bins


__version__ = '0.1.18'
__version__ = '0.1.19'
__author__ = 'Matthew Vincent, The Jackson Laboratory'
__email__ = 'matt.vincent@jax.org'

Expand Down
4 changes: 2 additions & 2 deletions g2gtools/vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def parse_gt(vcf_record, sample_index):
:type sample_index: int
:return: :class:`.vcf.GTData`
"""
if not sample_index:
if sample_index is None:
raise G2GVCFError("Sample index must contain a value")

sample_data = vcf_record.SAMPLES[sample_index]
Expand Down Expand Up @@ -201,7 +201,7 @@ def parse_gt_new(vcf_tuple, sample_index):
:type sample_index: int
:return: :class:`.vcf.GTData`
"""
if not sample_index:
if sample_index is None:
raise G2GVCFError("Sample index must contain a value")

sample_data = vcf_tuple[sample_index]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def main():

setup(
name='g2gtools',
version='v0.1.18',
version='v0.1.19',
description="A set of tools that facilitates genome to genome conversion for studying multiparent populations",
long_description=readme + '\n\n' + history,
author='Kwangbom "KB" Choi & Matthew Vincent, The Jackson Laboratory',
Expand Down

0 comments on commit 269e149

Please sign in to comment.