Private
Public Access
1
0

removing some sports

This commit is contained in:
Sander Roosendaal
2018-11-15 16:51:59 +01:00
parent 53f2462f7b
commit 2add7b52a2

View File

@@ -11,33 +11,33 @@ workouttypes = (
('c-boat','Dutch C boat'), ('c-boat','Dutch C boat'),
('churchboat','Finnish Church boat'), ('churchboat','Finnish Church boat'),
('Ride','Ride'), ('Ride','Ride'),
('Kitesurf','Kitesurf'), # ('Kitesurf','Kitesurf'),
('Run','Run'), ('Run','Run'),
('NordicSki','NordicSki'), ('NordicSki','NordicSki'),
('Swim','Swim'), ('Swim','Swim'),
('RockClimbing','RockClimbing'), # ('RockClimbing','RockClimbing'),
('Hike','Hike'), ('Hike','Hike'),
('RollerSki','RollerSki'), # ('RollerSki','RollerSki'),
('Walk','Walk'), ('Walk','Walk'),
('AlpineSki','AlpineSki'), # ('AlpineSki','AlpineSki'),
('Snowboard','Snowboard'), # ('Snowboard','Snowboard'),
('BackcountrySki','BackcountrySki'), # ('BackcountrySki','BackcountrySki'),
('Snowshoe','Snowshoe'), # ('Snowshoe','Snowshoe'),
('Canoeing','Canoeing'), ('Canoeing','Canoeing'),
('StairStepper','StairStepper'), # ('StairStepper','StairStepper'),
('Crossfit','Crossfit'), ('Crossfit','Crossfit'),
('StandUpPaddling','StandUpPaddling'), ('StandUpPaddling','StandUpPaddling'),
('EBikeRide','EBikeRide'), # ('EBikeRide','EBikeRide'),
('Surfing','Surfing'), # ('Surfing','Surfing'),
('Elliptical','Elliptical'), # ('Elliptical','Elliptical'),
('VirtualRide','VirtualRide'), # ('VirtualRide','VirtualRide'),
('IceSkate','IceSkate'), ('IceSkate','IceSkate'),
('WeightTraining','WeightTraining'), ('WeightTraining','WeightTraining'),
('InlineSkate','InlineSkate'), ('InlineSkate','InlineSkate'),
('Windsurf','Windsurf'), # ('Windsurf','Windsurf'),
('Kayaking','Kayaking'), ('Kayaking','Kayaking'),
('Workout','Workout'), ('Workout','Workout'),
('Yoga','Yoga'), # ('Yoga','Yoga'),
('other','Other'), ('other','Other'),
) )
@@ -54,33 +54,19 @@ stravamapping = {
'c-boat':'Rowing', 'c-boat':'Rowing',
'churchboat':'Rowing', 'churchboat':'Rowing',
'Ride':'Ride', 'Ride':'Ride',
'Kitesurf':'Kitesurf', 'Kitesurf':'other',
'Run':'Run', 'Run':'Run',
'NordicSki':'NordicSki',
'Swim':'Swim', 'Swim':'Swim',
'RockClimbing':'RockClimbing',
'Hike':'Hike', 'Hike':'Hike',
'RollerSki':'RollerSki',
'Walk':'Walk', 'Walk':'Walk',
'AlpineSki':'AlpineSki',
'Snowboard':'Snowboard',
'BackcountrySki':'BackcountrySki',
'Snowshoe':'Snowshoe',
'Canoeing':'Canoeing', 'Canoeing':'Canoeing',
'StairStepper':'StairStepper',
'Crossfit':'Crossfit', 'Crossfit':'Crossfit',
'StandUpPaddling':'StandUpPaddling', 'StandUpPaddling':'StandUpPaddling',
'EBikeRide':'EBikeRide',
'Surfing':'Surfing',
'Elliptical':'Elliptical',
'VirtualRide':'VirtualRide',
'IceSkate':'IceSkate', 'IceSkate':'IceSkate',
'WeightTraining':'WeightTraining', 'WeightTraining':'WeightTraining',
'InlineSkate':'InlineSkate', 'InlineSkate':'InlineSkate',
'Windsurf':'Windsurf',
'Kayaking':'Kayaking', 'Kayaking':'Kayaking',
'Workout':'Workout', 'Workout':'Workout',
'Yoga':'Yoga',
'other':'Workout', 'other':'Workout',
} }
@@ -98,33 +84,20 @@ stmapping = {
'c-boat':'Rowing', 'c-boat':'Rowing',
'churchboat':'Rowing', 'churchboat':'Rowing',
'Ride':'Cycling', 'Ride':'Cycling',
'Kitesurf':'Other:Kitesurf',
'Run':'Running', 'Run':'Running',
'NordicSki':'Skiing:Nordic', 'NordicSki':'Skiing:Nordic',
'Swim':'Swimming', 'Swim':'Swimming',
'RockClimbing':'Other:RockClimbing',
'Hike':'Hiking', 'Hike':'Hiking',
'RollerSki':'Other:RollerSki', 'RollerSki':'Other:RollerSki',
'Walk':'Other:Walk', 'Walk':'Other:Walk',
'AlpineSki':'Skiing:AlpineSki',
'Snowboard':'Other:Snowboard',
'BackcountrySki':'Skiing:BackcountrySki',
'Snowshoe':'Other:Snowshoe',
'Canoeing':'Other:Canoeing', 'Canoeing':'Other:Canoeing',
'StairStepper':'Other:StairStepper',
'Crossfit':'Other:Crossfit', 'Crossfit':'Other:Crossfit',
'StandUpPaddling':'Other:StandUpPaddling', 'StandUpPaddling':'Other:StandUpPaddling',
'EBikeRide':'Cycling:EBikeRide',
'Surfing':'Other:Surfing',
'Elliptical':'Other:Elliptical',
'VirtualRide':'Cycling:VirtualRide',
'IceSkate':'Skating', 'IceSkate':'Skating',
'WeightTraining':'Other:WeightTraining', 'WeightTraining':'Other:WeightTraining',
'InlineSkate':'Skating:InlineSkate', 'InlineSkate':'Skating:InlineSkate',
'Windsurf':'Other:Windsurf',
'Kayaking':'Other:Kayaking', 'Kayaking':'Other:Kayaking',
'Workout':'Other:Workout', 'Workout':'Other:Workout',
'Yoga':'Other:Yoga',
'other':'Other', 'other':'Other',
} }
@@ -142,33 +115,19 @@ rkmapping = {
'c-boat':'Rowing', 'c-boat':'Rowing',
'churchboat':'Rowing', 'churchboat':'Rowing',
'Ride':'Cycling', 'Ride':'Cycling',
'Kitesurf':'Other',
'Run':'Running', 'Run':'Running',
'NordicSki':'Cross-Country Skiing', 'NordicSki':'Cross-Country Skiing',
'Swim':'Swimming', 'Swim':'Swimming',
'RockClimbing':'Other',
'Hike':'Hiking', 'Hike':'Hiking',
'RollerSki':'Other:RollerSki',
'Walk':'Walking', 'Walk':'Walking',
'AlpineSki':'Downhill Skiing',
'Snowboard':'Snowboarding',
'BackcountrySki':'Downhill Skiing',
'Snowshoe':'Other',
'Canoeing':'Other', 'Canoeing':'Other',
'StairStepper':'Stairmaster',
'Crossfit':'CrossFit', 'Crossfit':'CrossFit',
'StandUpPaddling':'Other', 'StandUpPaddling':'Other',
'EBikeRide':'Cycling',
'Surfing':'Other',
'Elliptical':'Elliptical',
'VirtualRide':'Cycling',
'IceSkate':'Skating', 'IceSkate':'Skating',
'WeightTraining':'Other', 'WeightTraining':'Other',
'InlineSkate':'Skating', 'InlineSkate':'Skating',
'Windsurf':'Other',
'Kayaking':'Other', 'Kayaking':'Other',
'Workout':'Other', 'Workout':'Other',
'Yoga':'Yoga',
'other':'Other', 'other':'Other',
} }
@@ -186,33 +145,19 @@ polarmapping = {
'c-boat':'Rowing', 'c-boat':'Rowing',
'churchboat':'Rowing', 'churchboat':'Rowing',
'Ride':'Cycling', 'Ride':'Cycling',
'Kitesurf':'Kitesurfing',
'Run':'Running', 'Run':'Running',
'NordicSki':'Skiing', 'NordicSki':'Skiing',
'Swim':'Swimming', 'Swim':'Swimming',
'RockClimbing':'Other Outdoor',
'Hike':'Hiking', 'Hike':'Hiking',
'RollerSki':'Other Outdoor',
'Walk':'Walking', 'Walk':'Walking',
'AlpineSki':'Downhill skiing',
'Snowboard':'Snowboarding',
'BackcountrySki':'Downhill skiing',
'Snowshoe':'Snowshoe trekking',
'Canoeing':'Canoeing', 'Canoeing':'Canoeing',
'StairStepper':'Other Indoor',
'Crossfit':'Crossfit', 'Crossfit':'Crossfit',
'StandUpPaddling':'Other Outdoor', 'StandUpPaddling':'Other Outdoor',
'EBikeRide':'Cycling',
'Surfing':'Surfing',
'Elliptical':'Other Indoor',
'VirtualRide':'Cycling',
'IceSkate':'Skating', 'IceSkate':'Skating',
'WeightTraining':'Strength training', 'WeightTraining':'Strength training',
'InlineSkate':'Skating', 'InlineSkate':'Skating',
'Windsurf':'Windsurfing',
'Kayaking':'Kayaking', 'Kayaking':'Kayaking',
'Workout':'Other Indoor', 'Workout':'Other Indoor',
'Yoga':'Yoga',
'other':'Other Indoor', 'other':'Other Indoor',
} }
@@ -230,33 +175,19 @@ tpmapping = {
'c-boat':'rowing', 'c-boat':'rowing',
'churchboat':'rowing', 'churchboat':'rowing',
'Ride':'cycling', 'Ride':'cycling',
'Kitesurf':'other',
'Run':'run', 'Run':'run',
'NordicSki':'xc-ski', 'NordicSki':'xc-ski',
'Swim':'swim', 'Swim':'swim',
'RockClimbing':'other',
'Hike':'other', 'Hike':'other',
'RollerSki':'other',
'Walk':'walk', 'Walk':'walk',
'AlpineSki':'other',
'Snowboard':'other',
'BackcountrySki':'other',
'Snowshoe':'other',
'Canoeing':'other', 'Canoeing':'other',
'StairStepper':'other',
'Crossfit':'other', 'Crossfit':'other',
'StandUpPaddling':'other', 'StandUpPaddling':'other',
'EBikeRide':'other',
'Surfing':'other',
'Elliptical':'other',
'VirtualRide':'bike',
'IceSkate':'other', 'IceSkate':'other',
'WeightTraining':'strength', 'WeightTraining':'strength',
'InlineSkate':'other', 'InlineSkate':'other',
'Windsurf':'other',
'Kayaking':'other', 'Kayaking':'other',
'Workout':'other', 'Workout':'other',
'Yoga':'other',
'other':'other', 'other':'other',
} }
@@ -274,33 +205,19 @@ c2mapping = {
'c-boat':'water', 'c-boat':'water',
'churchboat':'water', 'churchboat':'water',
'Ride':'bike', 'Ride':'bike',
'Kitesurf':None,
'Run':None, 'Run':None,
'NordicSki':'snow', 'NordicSki':'snow',
'Swim':None, 'Swim':None,
'RockClimbing':None,
'Hike':None, 'Hike':None,
'RollerSki':'snow',
'Walk':None, 'Walk':None,
'AlpineSki':None,
'Snowboard':None,
'BackcountrySki':'snow',
'Snowshoe':'snow',
'Canoeing':'paddle', 'Canoeing':'paddle',
'StairStepper':None,
'Crossfit':None, 'Crossfit':None,
'StandUpPaddling':None, 'StandUpPaddling':None,
'EBikeRide':None,
'Surfing':None,
'Elliptical':None,
'VirtualRide':None,
'IceSkate':None, 'IceSkate':None,
'WeightTraining':None, 'WeightTraining':None,
'InlineSkate':None, 'InlineSkate':None,
'Windsurf':None,
'Kayaking':None, 'Kayaking':None,
'Workout':None, 'Workout':None,
'Yoga':None,
'other':None, 'other':None,
} }