diff --git a/rowers/dataprep.py b/rowers/dataprep.py index 6158431e..45cfd3d4 100644 --- a/rowers/dataprep.py +++ b/rowers/dataprep.py @@ -769,7 +769,11 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower', timezone=timezone_str, privacy=privacy) - w.save() + try: + w.save() + except ValidationError: + w.startdatetime = timezone.now() + w.save() isbreakthrough = False ishard = False diff --git a/rowers/templates/c2_list_import2.html b/rowers/templates/c2_list_import2.html index 434066b9..206d242e 100644 --- a/rowers/templates/c2_list_import2.html +++ b/rowers/templates/c2_list_import2.html @@ -46,14 +46,23 @@ {% for workout in workouts %}
rPower: Equivalent steady state power for the duration of the workout.
+Heart Rate Drift: Comparing heart rate normalized for average power for the first and second half of the workout
+rScore: Score based on rPower and workout duration to estimate training effect
+