Private
Public Access
1
0

bug fix zeropower

This commit is contained in:
Sander Roosendaal
2020-10-21 19:59:58 +02:00
parent 52c15644ba
commit 4b1f3d50f2
3 changed files with 8 additions and 68 deletions

View File

@@ -1037,8 +1037,6 @@ def fetchcp_new(rower,workouts):
if len(data)>1:
df = pd.concat(data,axis=0)
print(df)
df = df = df[df['cp'] == df.groupby(['delta'])['cp'].transform('max')]
@@ -1054,6 +1052,8 @@ def setcp(workout,background=False):
job = myqueue(queuelow,handle_setcp,strokesdf,filename,workout.id)
return job.id
if not strokesdf.empty:
totaltime = strokesdf['time'].max()
try: