Private
Public Access
1
0

support for OTW BoatCoach

This commit is contained in:
Sander Roosendaal
2017-09-25 21:34:34 +02:00
parent 92e1b2ac94
commit ba1b0cea8a
3 changed files with 10 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ from rowingdata import (
TCXParser,RowProParser,ErgDataParser,TCXParserNoHR,
CoxMateParser,
BoatCoachParser,RowPerfectParser,BoatCoachAdvancedParser,
MysteryParser,
MysteryParser,BoatCoachOTWParser,
painsledDesktopParser,speedcoachParser,ErgStickParser,
SpeedCoach2Parser,FITParser,fitsummarydata,
make_cumvalues,
@@ -742,6 +742,10 @@ def handle_nonpainsled(f2,fileformat,summary=''):
if (fileformat == 'boatcoach'):
row = BoatCoachParser(f2)
# handle BoatCoach OTW
if (fileformat == 'boatcoachotw'):
row = BoatCoachOTWParser(f2)
# handle painsled desktop
if (fileformat == 'painsleddesktop'):
row = painsledDesktopParser(f2)

View File

@@ -325,6 +325,10 @@ def handle_nonpainsled(f2,fileformat,summary=''):
if (fileformat == 'bcmike'):
row = BoatCoachAdvancedParser(f2)
# handle BoatCoach OTW
if (fileformat == 'boatcoachotw'):
row = BoatCoachOTWParser(f2)
# handle BoatCoach
if (fileformat == 'boatcoach'):
row = BoatCoachParser(f2)

View File

@@ -24,6 +24,7 @@ workoutsources = (
('rowperfect3','rowperfect3'),
('ergdata','ergdata'),
('boatcoach','boatcoach'),
('boatcoachotw','boatcoachotw'),
('bcmike','boatcoach (develop)'),
('painsleddesktop','painsleddesktop'),
('speedcoach','speedcoach'),