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

Syphilis Model: Timing of Progression to Primary Stage #40

Open
karina-d-wallrafen opened this issue Aug 30, 2023 · 0 comments
Open

Syphilis Model: Timing of Progression to Primary Stage #40

karina-d-wallrafen opened this issue Aug 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@karina-d-wallrafen
Copy link

Currently, any active node in the incubating stage of syphilis infection is eligible for progression to the primary stage (Line 136 of module-fx.R reads idsEligPri <- which(active == 1 & syph.stage == 1)). Since the infection function is called before the disease progression function, this means that it's possible for a node to become infected and immediately progress from the incubating to the primary stage within the same time step.

Changing Line 136 to idsEligPri <- which(active == 1 & syph.stage == 1 & infTime < at) would ensure that there is at least a one time step delay between infection and progression to the primary stage.

@karina-d-wallrafen karina-d-wallrafen added the bug Something isn't working label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants