Skip to content

dirichlet multinomial parameters must be labeled consecutively #152

@k-doering-NOAA

Description

@k-doering-NOAA

It looks like Dirichlet multinomial parameters must be labeled consecutively from 1 to the last parameter in defining them in the data file in order for SS to read them correctly. For example, say a user has a model with DM parameters labelled 1 to 4 in the data file. If a user decides to drop a fleet, say, the one associated with DM parameter 1, then there will only be DM parameters for 2 to 4 (3 total parameters). SS will stil expect to read 4 parameter lines in the control file, though, and will exit on error when it cannot figure out which fleet parameter 1 (which is not longer being used) belongs with.

I think it would be helpful to either 1) exit on error and provide an informative msg when users have not used consecutive parameter numbers for DM in the data file or 2) revise the DM parameter option so that users do not need consecutive parameter numbers. The first is the simpler of the options, but I could see 2) being more useful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions