Skip to content

specific stratum type referenced in inversion_length_TS #489

Description

@rebeccathomas-NOAA

https://github.com/OSOceanAcoustics/echopop/blob/49a21a8d64415a35d1727a0c789e7ac0694567c5/echopop/inversion/inversion_length_TS.py#L318

Referencing the specific stratum type (stratum_ks) in this function messes things up when one wants to run things with INPFC strata. I'd suggest changing this line to
self.sigma_bs_strata = df_length_counts.groupby(self.model_params["stratify_by"])[

Thanks,
RT
@leewujung

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug_in_pythonSomething in the Python implementation does not match what's in Matlab

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions