Private
Public Access
1
0

int for hrtss

This commit is contained in:
2023-09-05 10:56:36 +02:00
parent 1ecb94cf64
commit 8caf405e9f

View File

@@ -3825,12 +3825,6 @@ def workout_stats_view(request, id=0, message="", successmessage=""):
if datadf.empty: if datadf.empty:
return HttpResponse("CSV data file not found") 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 # Create stats
stats = {} stats = {}
@@ -3943,13 +3937,13 @@ def workout_stats_view(request, id=0, message="", successmessage=""):
otherstats['trimp'] = { otherstats['trimp'] = {
'verbose_name': 'TRIMP', 'verbose_name': 'TRIMP',
'value': trimp, 'value': int(trimp),
'unit': '' 'unit': ''
} }
otherstats['hrScore'] = { otherstats['hrScore'] = {
'verbose_name': 'rScore (HR)', 'verbose_name': 'rScore (HR)',
'value': hrtss, 'value': int(hrtss),
'unit': '' 'unit': ''
} }