Skip to content

Commit

Permalink
Fixed error of always generating index file
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjvincent committed Jun 6, 2018
1 parent 52cf234 commit 112be5e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
History
-------

0.2.5 (06/06/2018)
~~~~~~~~~~~~~~~~~~

* Fixed error of always generating index file

0.2.4 (06/05/2018)
~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion g2gtools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.2.4'
__version__ = '0.2.5'
__author__ = 'Matthew Vincent and Kwangbom \"KB\" Choi, The Jackson Laboratory'
__email__ = 'matt.vincent@jax.org'
2 changes: 1 addition & 1 deletion g2gtools/g2g_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def index_file(original_file, file_format="vcf", overwrite=False):
:param file_format:
:return:
"""
if not overwrite or not has_index_file(original_file, file_format=file_format):
if overwrite or not has_index_file(original_file, file_format=file_format):
if file_format.lower() == 'fa':
pysam.faidx(original_file)
elif file_format.lower() == 'vcf':
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.4
current_version = 0.2.5
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

setup(
name='g2gtools',
version='0.2.4',
version='0.2.5',
description="A suite of tools for the reconstruction of personal diploid genomes and better coordinate conversion",
long_description=readme + '\n\n' + history,
author='Matthew J. Vincent and Kwangbom "KB" Choi, The Jackson Laboratory',
Expand Down

0 comments on commit 112be5e

Please sign in to comment.