int for hrtss
This commit is contained in:
@@ -3825,12 +3825,6 @@ def workout_stats_view(request, id=0, message="", successmessage=""):
|
||||
if datadf.empty:
|
||||
return HttpResponse("CSV data file not found")
|
||||
|
||||
# datadf['deltat'] = datadf['time'].diff()
|
||||
|
||||
# workoutstateswork = [1, 4, 5, 8, 9, 6, 7]
|
||||
# workoutstatesrest = [3]
|
||||
# workoutstatetransition = [0, 2, 10, 11, 12, 13]
|
||||
|
||||
# Create stats
|
||||
stats = {}
|
||||
|
||||
@@ -3943,13 +3937,13 @@ def workout_stats_view(request, id=0, message="", successmessage=""):
|
||||
|
||||
otherstats['trimp'] = {
|
||||
'verbose_name': 'TRIMP',
|
||||
'value': trimp,
|
||||
'value': int(trimp),
|
||||
'unit': ''
|
||||
}
|
||||
|
||||
otherstats['hrScore'] = {
|
||||
'verbose_name': 'rScore (HR)',
|
||||
'value': hrtss,
|
||||
'value': int(hrtss),
|
||||
'unit': ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user