Skip to content

matchGrowth() gives error when there is no w_inf column #279

@gustavdelius

Description

@gustavdelius

matchGrowth() is trying to be nice and tries to calculate the maturity age from von Bertalanffy parameters when age_mat is not supplied. Unfortunately it does this even if there is no w_inf column and this leads to an error message:
Error in names(a_mat) <- sp$species : 'names' attribute [12] must be the same length as the vector [0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugminor effortResolving this issue will involve a minor effortsetting parametersIssue relates to the part of mizer used for setting up MizerParams objects.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions