fixing group vs type confusion
This commit is contained in:
@@ -1697,7 +1697,7 @@ def interactive_flexchart_stacked(id, r, xparam='time',
|
||||
mode='erg'):
|
||||
|
||||
columns = [name for name, d in metrics.rowingmetrics]
|
||||
columns_basic = [name for name, d in metrics.rowingmetrics if d['group'] == 'basic']
|
||||
columns_basic = [name for name, d in metrics.rowingmetrics if d['type'] == 'basic']
|
||||
columns = columns + ['spm', 'driveenergy', 'distance','workoutid','workoutstate']
|
||||
columns_basic = columns_basic + ['spm', 'driveenergy', 'distance','workoutid','workoutstate']
|
||||
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user