-
Notifications
You must be signed in to change notification settings - Fork 7
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
Not all dependencies are declared in modules #1492
Comments
For some of these these I think they wouldn't class as dependencies in the sense we are currently assuming in the model and tests. For example for the Adding such optional dependencies to If we want to capture these additional optional dependencies, then I think we probably would want to create a further separate module attribute to do so, to avoid these issues, for example |
Thank you so much for the explanation! I am unsure if it is worth creating another module attribute for the sake of one graph, but I am also not best-placed to decide that, I think.
|
When mapping which modules are used by other modules (primarily "disease" modules, but including Lifestyle and maternity/neonatal modules), not all additonal dependencies were declared in the following modules:
HIV module: 'Schisto', 'CardioMetabolicDisorders'
Labour module: 'HealthSystem', 'Contraception', 'NewbornOutcomes', 'Depression', 'Hiv'
Measles module: 'Epi'
Postnatal Supervisor module: 'Labour', 'Lifestyle', 'NewbornOutcomes', 'PregnancySupervisor',
'Hiv', 'CareOfWomenDuringPregnancy'
TB module: 'CardioMetabolicDisorders'
When I tried to add them in as ADDITIONAL DEPENDENCIES, it caused some tests to fail (e.g. test_antenatal_interventions, test_malaria) with the error
tlo.dependencies.ModuleDependencyError: One or more required dependency is missing from the module list and no alternative to this
The text was updated successfully, but these errors were encountered: