From 0e2de3c69998749b4dfb17163a90fdffec050e06 Mon Sep 17 00:00:00 2001 From: Matt Shirley Date: Tue, 12 May 2015 10:30:11 -0400 Subject: [PATCH] patch for #66 --- pyfaidx/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfaidx/__init__.py b/pyfaidx/__init__.py index fb53722..ed695f4 100644 --- a/pyfaidx/__init__.py +++ b/pyfaidx/__init__.py @@ -21,7 +21,7 @@ dna_bases = re.compile(r'([ACTGNactgnYRWSKMDVHBXyrwskmdvhbx]+)') -__version__ = '0.4.0' +__version__ = '0.4.0.1' class FastaIndexingError(Exception): @@ -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: