Private
Public Access
1
0

dataprep -> plep

This commit is contained in:
2024-04-10 21:37:31 +02:00
parent 1a48e73a6f
commit 2a9beb7a25
5 changed files with 28 additions and 29 deletions

View File

@@ -1293,7 +1293,7 @@ def remove_power_view(request, id=0):
row = rdata(csvfile=f, rower=rr)
row.df[' Power (watts)'] = 0
row.write_csv(f)
_ = dataprep.dataprep(row.df, id=workout.id)
_ = dataprep.dataplep(row.df, id=workout.id)
cpdf, delta, cpvalues = dataprep.setcp(workout)
workout.normp = 0
@@ -3599,7 +3599,7 @@ def workout_erase_column_view(request, id=0, column=''):
row.write_csv(w.csvfilename, gzip=True)
row, workout = dataprep.getrowdata(id=w.id)
_ = dataprep.dataprep(row.df, id=w.id)
_ = dataprep.dataplep(row.df, id=w.id)
if column == 'hr':
w.hrtss = 0