-
Notifications
You must be signed in to change notification settings - Fork 37
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
Added badges to README.md #80
Merged
Merged
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
4147b8a
readme
JoFrhwld 638314e
update export script names for backwards compatibility
JoFrhwld d0c2a94
Merge pull request #78 from JoFrhwld/hotfix
JoFrhwld f514fde
incrementing version number
JoFrhwld 913d6c6
removed the link to the mailing group
DerMoehre 614c519
added a bug reporting form
DerMoehre e21cef9
added a link to the bug report form
DerMoehre a865e50
added a description of bug triage
DerMoehre 0a03242
added the changes to the bug report and readme
DerMoehre acbfb43
deleted .code-workspace
DerMoehre 6d95cd9
Delete Documents.code-workspace
DerMoehre 4e38a1e
added the test_readFile and updated the code in read_transcription_fi…
DerMoehre 50bc9b5
added the requested changes
DerMoehre 0836312
Delete test.csv
DerMoehre 2293dba
Delete test_readFile.py
DerMoehre 8e245e3
changes in the transcriptprocessor file
DerMoehre f305e54
added the requested changes
DerMoehre 400a060
added the requested changes
DerMoehre 27c6fde
typo correction
DerMoehre 66611d2
Merge branch 'dev' into master
chrisbrickhouse 58b1add
added license and python badge
DerMoehre 0ac55f5
Merge branch 'master' of https://github.com/DerMoehre/FAVE
DerMoehre 5983ed6
added a test for extractFormants
DerMoehre e873ea2
Revert "added a test for extractFormants"
DerMoehre 5c62587
added shields badges for PyPI and DOI
DerMoehre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ There may be a delay between when a bug is reported and when a bug is resolved. | |
|
||
## Attribution | ||
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.22281.svg)](http://dx.doi.org/10.5281/zenodo.22281) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
![GitHub](https://img.shields.io/github/license/JoFrhwld/FAVE) | ||
![GitHub](https://img.shields.io/badge/Python-3.8%2B-brightgreen) | ||
As of v1.1.3 onwards, releases from this repository will have a DOI associated with them through Zenodo. The DOI for the current release is [10.5281/zenodo.22281](http://dx.doi.org/10.5281/zenodo.22281). We would recommend the citation: | ||
|
||
Rosenfelder, Ingrid; Fruehwald, Josef; Brickhouse, Christian; Evanini, Keelan; Seyfarth, Scott; Gorman, Kyle; Prichard, Hilary; Yuan, Jiahong; 2022. FAVE (Forced Alignment and Vowel Extraction) Program Suite v2.0.0 */zenodo.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
import logging | ||
import pytest | ||
import numpy as np | ||
from fave import extractFormants | ||
|
||
def test_mean_stdv(): | ||
for test_case in provide_valuelist(): | ||
mean, stdv = extractFormants.mean_stdv(test_case[0]) | ||
|
||
assert mean == test_case[1] | ||
assert stdv == test_case[2] | ||
|
||
def provide_valuelist(): | ||
return [ | ||
[ | ||
[1, 2, 3, 4], | ||
np.mean([1, 2, 3, 4]), | ||
np.std([1, 2, 3, 4], ddof=1) | ||
], | ||
[ | ||
[3.5, 2.6, 11.6, 34.66, 2.8, 4.7], | ||
np.mean([3.5, 2.6, 11.6, 34.66, 2.8, 4.7]), | ||
np.std([3.5, 2.6, 11.6, 34.66, 2.8, 4.7], ddof=1) | ||
], | ||
[ | ||
[], | ||
None, | ||
None | ||
], | ||
[ | ||
[23, 34, 45, 56, 12, 312, 45, 943, 21, 1, 4, 6, 9, 2], | ||
np.mean([23, 34, 45, 56, 12, 312, 45, 943, 21, 1, 4, 6, 9, 2]), | ||
np.std([23, 34, 45, 56, 12, 312, 45, 943, 21, 1, 4, 6, 9, 2], ddof=1) | ||
], | ||
[ | ||
[3], | ||
np.mean([3]), | ||
0 | ||
], | ||
[ | ||
[-1], | ||
np.mean([-1]), | ||
0 | ||
] | ||
|
||
] | ||
|
||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While you’re sprucing up the shields, could you replace this zenodo shield with this:
[![DOI](https://zenodo.org/badge/13744621.svg)](https://zenodo.org/badge/latestdoi/13744621)
The current shield points at a particular DOI (which I think was all that was possible when I first set up the DOI minting). But the link pasted here will point to he most current DOI, which is the behavior we want.