Private
Public Access
1
0

improvements to perf manager chart and making sure tss and trimp are calculated always

This commit is contained in:
Sander Roosendaal
2020-11-30 18:27:49 +01:00
parent a3378a3386
commit 7ccc7f109b
6 changed files with 23 additions and 12 deletions

View File

@@ -1608,8 +1608,9 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
res = dataprep(row.df, id=w.id, bands=True,
barchart=True, otwpower=True, empower=True, inboard=inboard)
rscore,normp = workout_rscore(w)
trimp,hrtss = workout_trimp(w)
job = myqueue(queuehigh,handle_calctrimp,w.id,f2,r.ftp,r.sex,r.hrftp,r.max,r.rest)
isbreakthrough = False
ishard = False
@@ -1949,8 +1950,6 @@ def new_workout_from_file(r, f2,
impeller=impeller,
)
job = myqueue(queuehigh,handle_calctrimp,id,f2,r.ftp,r.sex,r.hrftp,r.max,r.rest)
return (id, message, f2)