Private
Public Access
1
0

white space changes

This commit is contained in:
Sander Roosendaal
2020-03-18 21:12:53 +01:00
parent 3bcd14342a
commit c7e7bbb5ce
2 changed files with 4 additions and 2 deletions

View File

@@ -1453,6 +1453,7 @@ def parsenonpainsled(fileformat,f2,summary):
pass
hasrecognized = True
return row,hasrecognized,summary,fileformat
def handle_nonpainsled(f2, fileformat, summary=''):
@@ -1474,6 +1475,7 @@ def handle_nonpainsled(f2, fileformat, summary=''):
# should delete file
f2 = f2[:-4] + 'o.csv'
row2 = rrdata(df = row.df)
if 'speedcoach2' in fileformat:
# impeller consistency
impellerdata, consistent, ratio = row.impellerconsistent(threshold=0.3)
@@ -1481,6 +1483,7 @@ def handle_nonpainsled(f2, fileformat, summary=''):
impeller = True
if impellerdata and not consistent:
row2.use_gpsdata()
row2.write_csv(f2, gzip=True)