Closed timmahrt closed 1 year ago
:exclamation: No coverage uploaded for pull request base (
praatio_v6@b1330dd
). Click here to learn what that means. Patch has no changes to coverable lines.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
This PR addresses concerns raised in: https://github.com/timmahrt/praatIO/issues/39
Before this PR, tierNameList and tierDict were independent. An unwary user could create a Tier with an inconsistent tierNameList and tierDict.
After this PR, tierNameList is derived from tierDict. Furthermore, tierNameList has been made read only and tierDict was made protected (_tierDict). _tierDict should be accessed and modified via the provided helper methods tg.addTier, tg.getTier, tg.removeTier, and tg.renameTier.