diff cut_timeseries.py @ 3:f188eb0b526d draft

planemo upload commit 2d22bc12c66a3d1949d4bf4c84e7ce7c4610383c-dirty
author stevecassidy
date Wed, 14 Dec 2016 21:53:57 -0500
parents 6f4db0e89117
children 0026cd452d0e
line wrap: on
line diff
--- a/cut_timeseries.py	Thu Dec 08 01:45:31 2016 -0500
+++ b/cut_timeseries.py	Wed Dec 14 21:53:57 2016 -0500
@@ -68,7 +68,7 @@
         with open(tsfile, 'r') as fd:
             reader = csv.reader(fd, dialect=csv.excel_tab)
             for row in reader:
-                if row[0] == 'sampletime':
+                if row[0] == 'time':
                     tsheader = row
                 elif float(row[0]) > start and float(row[0]) < end:
                     collect.append(row)