bartneck / swiML

A project to formalise swimming programs using XML
MIT License
2 stars 2 forks source link

stopIntensity not working in Python #95

Closed bartneck closed 3 months ago

bartneck commented 3 months ago

When adding a stopIntensity to the code, it does not work. Option 1:

intensity=('startIntensity',('zone','easy')),
intensity=('stopIntensity',('zone','max'))

Results in an error message: keyword argument repeated: intensity

When writing it in one line, the stopIntensity is ignored:

intensity=('startIntensity',('zone','easy'),'stopIntensity',('zone','max'))

This can be seen in the file JasiMasters2024031001.py

calloc262 commented 3 months ago

should be fixed in latest version in all 3 swiML.py files

Using the second option: intensity=('startIntensity',('zone','easy'),'stopIntensity',('zone','max'))

bartneck commented 3 months ago

checked and solved. Thanks.