Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes #55

Merged
merged 12 commits into from
Jul 18, 2022
Merged

Bug fixes #55

merged 12 commits into from
Jul 18, 2022

Conversation

chrisbrickhouse
Copy link
Collaborator

@chrisbrickhouse chrisbrickhouse commented Jul 12, 2022

  • Distribute correct binaries and source files in /dist
  • Resolves Mac OSX doesn't guarantee praat in PATH #53
  • Don't print git diff output unless in a git repo
  • Fix spelling mistake in TranscriptProcessor class
  • Fix build failures

chrisbrickhouse and others added 8 commits May 25, 2022 14:49
docs: bump to sphinx4 to avoid dependency error
build: bump to poetry1.1
.gitignore: add some directories and files
Resolves JoFrhwld#52 by adding extractFormants.py and
FAAValign.py as systemwide commands when the package is installed
by pip. The imports still won't work when run directly from the
directory rather than the established entry point.
Resolves JoFrhwld#53 by adding the applications directory
to the path before searching for Praat.
Update .gitignore and documentation metadata as well.
When 2.0.0 was released, the dist folder had old development versions
rather than the release version which introduced old bugs if
installed via pip. This bug fix distributes the correct binaries.
fave.align.transcriptprocessor.TranscriptProcessor was mis-spelled
in previous versions which caused problems as the file name and
class name did not match.
When running the aligner, the logger checks for any changes in the
repo and prints the differences to the log. If there's no repo then
the error output gets printed to the terminal which can be confusing
for users. This commit first checks to see if a git repo exists, and
skips the process if not.
@chrisbrickhouse
Copy link
Collaborator Author

chrisbrickhouse commented Jul 12, 2022

The build failure is fixed in another commit not included here, see: chrisbrickhouse@fa9520a

Edit: I've included it and some other fixes as well

Christian Brickhouse added 4 commits July 12, 2022 12:59
Using github actions, check that submitted code has
no syntax errors and passes all tests. The code is
tested on pythons 3.8, 3.9, and 3.10 and on the latest
ubuntu, macos, and windows releases (among others).

Squashed commit of the following:

commit 46a7c9b
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 14:22:32 2022 -0700

    Make workflow names more intuitive

commit e168e20
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 14:17:54 2022 -0700

    Remove bash conditional that caused windows runs to fail.

commit 8b0c587
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 14:11:40 2022 -0700

    Fix yml error

commit e0520fe
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 14:10:27 2022 -0700

    Add additional OS tests.

commit 255bd1b
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 14:04:08 2022 -0700

    Configure pytest so it finds the fave module.

commit fa11b96
Merge: cac8c3e 6adfde3
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 14:01:33 2022 -0700

    Merge branch 'workflows' of github.com:chrisbrickhouse/FAVE into workflows

commit cac8c3e
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 13:58:33 2022 -0700

    Add flake8 config

commit 06f6121
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 13:41:59 2022 -0700

    Set to run on this branch

commit ffb7328
Author: Christian Brickhouse <[email protected]>
Date:   Mon Jul 11 18:16:15 2022 -0700

    Add basic tests for TranscriptProcessor

commit 356867d
Author: Christian Brickhouse <[email protected]>
Date:   Mon Jul 11 16:38:33 2022 -0700

    Add basic python package CI workflow

commit 6adfde3
Author: Christian Brickhouse <[email protected]>
Date:   Tue Jul 12 13:41:59 2022 -0700

    Set to run on this branch

commit 77be18d
Author: Christian Brickhouse <[email protected]>
Date:   Mon Jul 11 18:16:15 2022 -0700

    Add basic tests for TranscriptProcessor

commit 348963d
Author: Christian Brickhouse <[email protected]>
Date:   Mon Jul 11 16:38:33 2022 -0700

    Add basic python package CI workflow
@chrisbrickhouse
Copy link
Collaborator Author

The new jobs aren't set up to run on this branch, but you can see them pass when run in the workflows development branch: https://github.com/chrisbrickhouse/FAVE/actions/runs/2659481671

This PR should be ready for review and merging

@JoFrhwld JoFrhwld merged commit 5e756df into JoFrhwld:master Jul 18, 2022
@chrisbrickhouse chrisbrickhouse mentioned this pull request Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mac OSX doesn't guarantee praat in PATH
2 participants