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

fix scale_trimMean when outlierLength = 1 #4

Open
AidanMascoli opened this issue Oct 9, 2021 · 1 comment
Open

fix scale_trimMean when outlierLength = 1 #4

AidanMascoli opened this issue Oct 9, 2021 · 1 comment

Comments

@AidanMascoli
Copy link

In source file ProtFeat.py, line 797, when the sequence is small enough for outlierLength to be equal to 1, scale_trimMean is set as an empty array, rather than the whole array. When the mean of scale_trimMean is then taken at line 818, it throws the warning "RuntimeWarning: Mean of empty slice".

@AidanMascoli
Copy link
Author

I have a fix.

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

No branches or pull requests

1 participant