Skip to content

bug: SubPopulation index isn't passed to MultiSignalModel.sample() #882

Description

@KOVALW

Goal

We want to pass a SubpopulationCounts observation process into MultiSignalModel, but on run the sampling fails

Context

Runtime fails because multisignal_model.py#L413 doesn't pass the subpop_indices to sample() as required

This isn't caught on build because validate checksn_subpops appropriately

Specifications

  • Modify the multisignal model sample function to accept subpopulation indices if present
  • Tests to reproduce behavior including a SubpopulationCounts observation process inside the run

Out of scope

  • Any changes to how subpopulations connect with each other

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions