timmahrt / praatIO

A python library for working with praat, textgrids, time aligned audio transcripts, and audio files. It is primarily used for extracting features from and making manipulations on audio files given hierarchical time-aligned transcriptions (utterance > word > syllable > phone, etc).
MIT License
299 stars 32 forks source link

feat: Add praat script tests #46

Open timmahrt opened 1 year ago

timmahrt commented 1 year ago

Before this PR:

praatio_scripts and praat_scripts aren't covered by unit tests

After this PR:

praatio_scripts and praat_scripts are covered by unit testing to some degree


Memo: Please fix the coverage badge used in the readme file too.

coveralls commented 1 year ago

Coverage Status

Coverage: 75.605%. Remained the same when pulling 75bcfdfed43a38e8437cf2917b624495d423779e on add_praat_script_tests into b1330ddf4cb38cee9c91f3e8b25f9348280b921e on praatio_v6.

timmahrt commented 1 year ago

Will need to start over with this PR.

codecov[bot] commented 1 year ago

Codecov Report

Base: 77.21% // Head: 77.21% // No change to project coverage :thumbsup:

Coverage data is based on head (134a735) compared to base (80ac64e). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #46 +/- ## ======================================= Coverage 77.21% 77.21% ======================================= Files 21 21 Lines 2638 2638 ======================================= Hits 2037 2037 Misses 601 601 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tim). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tim)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.