Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Some templates are duplicated during stratification #329

Closed
liunelson opened this issue Apr 23, 2024 · 0 comments · Fixed by #330
Closed

[BUG] Some templates are duplicated during stratification #329

liunelson opened this issue Apr 23, 2024 · 0 comments · Fixed by #330

Comments

@liunelson
Copy link

  1. I start with a simple compartmental model (SCRHD)
    Screenshot 2024-04-23 at 2 29 42 PM

  2. I use stratify to stratify the model by vaccination status u, v but only the variables S, C are stratified

model_vax = stratify(
    model, 
    key = "vaxstatus", 
    strata = ["u", "v"], 
    cartesian_control = True, 
    structure = [],
    concepts_to_stratify = ["S", "C"],
    params_to_stratify = ["a", "vaxCtoH"]
)
model_vax.annotations.name = "SCRHD Vax"
  1. Note that two templates (H -> R, H -> D) are duplicated and that should not happen
    Screenshot 2024-04-23 at 2 27 13 PM
    Screenshot 2024-04-23 at 2 27 27 PM

Relevant AMR files:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant