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 ac5e68c commit 598befd
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.6'
__version__ = '0.3.6.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 598befd

Please sign in to comment.