removed StrokeData table and all references to it
This commit is contained in:
@@ -28,35 +28,6 @@ from rowsandall_app.settings_dev import use_sqlite
|
||||
|
||||
from rowers.utils import lbstoN
|
||||
|
||||
# dtypes
|
||||
dtypes = {'workoutid':int,
|
||||
'hr':int,
|
||||
'pace':float,
|
||||
'velo':float,
|
||||
'spm':float,
|
||||
'driveenergy':float,
|
||||
'power':float,
|
||||
'averageforce':float,
|
||||
'peakforce':float,
|
||||
'drivelength':float,
|
||||
'distance':float,
|
||||
'cumdist':float,
|
||||
'drivespeed':float,
|
||||
'catch':float,
|
||||
'slip':float,
|
||||
'finish':float,
|
||||
'wash':float,
|
||||
'peakforceangle':float,
|
||||
'totalangle':float,
|
||||
'effectiveangle':float,
|
||||
'rhythm':float,
|
||||
'efficiency':float,
|
||||
'distanceperstroke':float,
|
||||
'ftime':str,
|
||||
'fpace':str,
|
||||
'fergpace':str,
|
||||
'fnowindpace':str,
|
||||
}
|
||||
|
||||
try:
|
||||
user = DATABASES['default']['USER']
|
||||
@@ -176,6 +147,7 @@ def rdata(file,rower=rrower()):
|
||||
return res
|
||||
|
||||
from rowers.utils import totaltime_sec_to_string
|
||||
from rowers.metrics import dtypes
|
||||
|
||||
|
||||
# Creates C2 stroke data
|
||||
|
||||
Reference in New Issue
Block a user