Private
Public Access
1
0

cosmetic change

This commit is contained in:
Sander Roosendaal
2018-09-24 08:39:40 +02:00
parent 44df721203
commit c1dea26080

View File

@@ -241,6 +241,7 @@ def add_c2_stroke_data_db(strokedata,workoutid,starttimeunix,csvfilename,
hr = strokedata.ix[:,'hr']
except KeyError:
hr = 0*spm
pace = strokedata.ix[:,'p']/10.
pace = np.clip(pace,0,1e4)
pace = pace.replace(0,300)