Skip to content

Commit

Permalink
patch for #66
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshw5 committed May 12, 2015
1 parent 1ed80af commit 1c8ba7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyfaidx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

dna_bases = re.compile(r'([ACTGNactgnYRWSKMDVHBXyrwskmdvhbx]+)')

__version__ = '0.3.7'
__version__ = '0.3.7.1'


class FastaIndexingError(Exception):
Expand Down Expand Up @@ -204,7 +204,7 @@ def __init__(self, filename, default_seq=None, key_function=None,

self.mutable = mutable

if os.path.exists(self.indexname) and getmtime(self.indexname) > getmtime(self.filename):
if os.path.exists(self.indexname) and getmtime(self.indexname) >= getmtime(self.filename):
self.read_fai(split_char)
else:
try:
Expand Down

0 comments on commit 1c8ba7e

Please sign in to comment.