From 0099fc678a3741c6392a765462b9124a3510a15f Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sun, 13 Sep 2020 10:05:57 +0200 Subject: [PATCH] releasing trajectory extend at finish for virtual challenges --- requirements.txt | 2 +- rowers/tasks.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bb926960..2b1029ca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -184,7 +184,7 @@ ratelim==0.1.6 redis==3.2.1 requests==2.23.0 requests-oauthlib==1.2.0 -rowingdata==2.9.3 +rowingdata==2.9.7 rowingphysics==0.5.0 rq==0.13.0 rules==2.1 diff --git a/rowers/tasks.py b/rowers/tasks.py index d15f06d8..ec9a5bac 100644 --- a/rowers/tasks.py +++ b/rowers/tasks.py @@ -397,6 +397,11 @@ def handle_check_race_course(self, except IOError: return 0 + + row.extend_data() + + #row.df.interpolate(inplace=True) + row.calc_dist_from_gps() rowdata = row.df rowdata['cum_dist'] = rowdata['gps_dist_calculated']