Private
Public Access
1
0
This commit is contained in:
2024-01-18 18:54:24 +01:00
parent 9871e29f32
commit 8a30ddbdf1
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +0,0 @@
sander@rowsandall-2.29298:1705253569

View File

@@ -789,7 +789,8 @@ def step_to_time_dist(step, avgspeed=3.2, ftp=200, ftspm=25, ftv=3.7, powerzones
veloratio = (velomid/ftv)**(3.0)
rscoreperhour = 100.*veloratio
rscore = rscoreperhour*seconds/3600.
seconds = distance/velomid
if velomid > 0:
seconds = distance/velomid
if targettype == 'Power': # pragma: no cover
value = step.get('targetValue', 0)