triskadecaepyon / pyworkout-toolkit

Python tools to process workout data and telemetry for metrics and machine learning
BSD 3-Clause "New" or "Revised" License
19 stars 4 forks source link

Only one Lap element is parsed in the test_dataset_1.tcx file #12

Open paulogonc opened 3 years ago

paulogonc commented 3 years ago

In the example file test_dataset_1.tcx there are three Lap segments, the parser only iterates over one element instead of all.

for laps in self.activity.Lap: <- here in self.activity is only one element instead of a list of elements
...

I use a lmxl in version 4.6.3