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