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 f3314bf commit 0e2de3c
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.4.0'
__version__ = '0.4.0.1'


class FastaIndexingError(Exception):
Expand Down Expand Up @@ -227,7 +227,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 0e2de3c

Please sign in to comment.