Skip to content

fix scale_trimMean when outlierLength = 1 #4

@AidanMascoli

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

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