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 27fe04b commit 795a6b3
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.9'
__version__ = '0.3.9.1'


class FastaIndexingError(Exception):
Expand Down Expand Up @@ -205,7 +205,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 795a6b3

Please sign in to comment.