Skip to content

df_sorted_final never set #2

Description

@gaffney2010

It's possible that df_sorted has every value greater than p_threshold in the ForBack functions. In that case, the if statement at the end of the backwards regression never gets run and df_sorted_final never gets set (https://github.com/smith478/ModelTools/blob/master/ModelTools.py#L1108), and this causes an error when we try to use df_sorted_final later.

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