From 5717e1df5fa289ac52c72a56a34831162608ef0f Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 28 Aug 2003 14:54:32 +0000 Subject: [PATCH] Patch from Norman to fix a slight oversite in file date querying. --- src/Prep/TerraFit/terrafit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Prep/TerraFit/terrafit.py b/src/Prep/TerraFit/terrafit.py index 13a90f21..c87a8e23 100755 --- a/src/Prep/TerraFit/terrafit.py +++ b/src/Prep/TerraFit/terrafit.py @@ -112,7 +112,7 @@ def terra_fit(fname, thresh=1, count=1000, factor=1.0/30.0, minnodes=50): gzName = basename+".fit.gz" try: - if path.getmtime(gzName) > path.getmtime(fname): + if os.path.getmtime(gzName) > os.path.getmtime(fname): print "Skipping: %s is newer then %s"%(gzName,fname) return except: