Private
Public Access
1
0

all tasks.py done

This commit is contained in:
2025-10-22 20:21:13 +02:00
parent 385bd52a94
commit ceced92022
13 changed files with 738 additions and 750 deletions

View File

@@ -570,7 +570,7 @@ def setcp(workout, background=False, recurrance=True):
strokesdf = read_data(
['power', 'workoutid', 'time'], ids=[workout.id])
strokesdf = remove_nulls_pl(strokesdf)
if strokesdf.is_empty():
return pl.DataFrame({'delta': [], 'cp': [], 'cr': []}), pl.Series(dtype=pl.Float64), pl.Series(dtype=pl.Float64), pl.Series(dtype=pl.Float64)