Repository navigation
Cleaned up some pep8 errors and fixes #3167 - #3170
Conversation
|
|
||
| # This is a typo cleaned up in issue #3167 and will need to be deprecated in | ||
| # a future release. | ||
| elif method == 'jeffrey': |
There was a problem hiding this comment.
replace this by method[:4] == 'jeff'
We started to switch to just checking unambigous part of the string in a few methods. This avoids deprecation and more forgiving to users that misspell the name.
|
@jvhaggard Thank you you could amend the commit and force push with the change to |
9c367f8 to
29c3ddc
Compare
| nobs - count + 0.5) | ||
| # method adjusted to be more forgiving of misspellings or incorrect option name | ||
| elif method[:4] == 'jeff': | ||
| ci_low, ci_upp = stats.beta.interval(1 - alpha, count + 0.5, |
There was a problem hiding this comment.
do you have a tab in there instead of 4 spaces?
this shows a double intendation
There was a problem hiding this comment.
You are correct, I had an extra 4 spaces in there. I must have hit tab accidentally. I put in a fix.
…eak existing configurations. changed to check unambiguous first part of the string Removed extra spacing
29c3ddc to
5648f5c
Compare
|
@jvhaggard Thank you, looks good now, I will merge when travis comes back green |
DOC/REF: Cleaned up some pep8 errors and fixes statsmodels#3167 (cherry picked from commit d867d8a)
STY: Small spacing cleanups
BUG: Fixed typo in option #3167