changeset 1070:0154133e77df

corrected bug
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 17 Jul 2018 10:34:39 -0400
parents 9ee5c7636640
children 58994b08be42 3939ae415be0
files scripts/process.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/process.py	Tue Jul 17 00:44:51 2018 -0400
+++ b/scripts/process.py	Tue Jul 17 10:34:39 2018 -0400
@@ -327,7 +327,7 @@
         row.extend(name)
         groupStartTime = group.time.min()
         groupEndTime = group.time.max()
-        row.append((groupEndTime.minute-groupStartTime.minute) % 60)#(name[2].minute*60+name[2].second-groupStartTime.minute*60+groupStartTime.second) % 3600)
+        row.append((groupEndTime.minute+1-groupStartTime.minute) % 60)#(name[2].minute*60+name[2].second-groupStartTime.minute*60+groupStartTime.second) % 3600)
         row.append(len(group))
         for h in dataColumns:
             for method,func in aggFunctions.items():