Skip to content

fix scale_trimMean when outlierLength = 1 #4

Description

@AidanMascoli

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".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions