bartneck / swiML

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

segmentName is misisng from swiML.py #84

Closed bartneck closed 4 months ago

bartneck commented 4 months ago

The segmentName element seems to be missing from swiML.py

bartneck commented 4 months ago

I tried:

warmUpSegment=swiML.Instruction(
    segmentName=('Warm Up')
)

It gives me an error message:

TypeError: Instruction.__init__() got an unexpected keyword argument 'segmentName'
bartneck commented 4 months ago

warmUpSegment=swiML.SegmentName('WarmUp') seems to work. It is just slightly different from what I expected.