From 9bc0b67a922f55075c12599d0a5eb4f61065707c Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Fri, 11 Sep 2026 19:03:21 +0200 Subject: [PATCH 01/10] online docs - developer page update --- docs/developer/create_new_release.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/developer/create_new_release.md b/docs/developer/create_new_release.md index 9ba4b597..e44a7078 100644 --- a/docs/developer/create_new_release.md +++ b/docs/developer/create_new_release.md @@ -8,11 +8,9 @@ Each version represents a distinct state of the codebase, including core framewo ## Versioning -MultiMalModPy follows a scheme inspired by [Google's versioning guidelines](https://google.github.io/styleguide/versioning.html), using: -- **Semantic versioning** (`MAJOR.MINOR.PATCH`) for public releases -- A `-devN` suffix for development/pre-release versions +MultiMalModPy follows [Semantic Versioning](https://semver.org/) (`MAJOR.MINOR.PATCH`) for public releases with a `-devN` suffix used for development and pre-release versions. - There are two version types used in MultiMalModPy: +There are two version types used in MultiMalModPy: ### Stable (Public) Releases @@ -28,7 +26,7 @@ These versions are: - Uploaded to the [GitHub Releases](https://github.com/ahadi-analytics/MultiMalModPy/releases) page -### Development (Pre-)Releases +### Development Releases Development versions use the same format as stable releases but include a `-devN` suffix: `MAJOR.MINOR.PATCH-devN` From b184377f0f54944de5c539109761240d8124d2f0 Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Sun, 13 Sep 2026 17:21:39 +0200 Subject: [PATCH 02/10] fix mkdocs parsing issues and other minor edits --- docs/getting_started/example_run.md | 33 +++++++++-------- docs/getting_started/installation.md | 4 +-- docs/getting_started/overview.md | 6 ++-- docs/guide/model_specificities.md | 45 ++++++++++++----------- docs/guide/time.md | 29 +++++++++------ docs/malaria_models/input_output.md | 30 ++++++++-------- docs/malaria_models/interventions.md | 53 ++++++++++++++-------------- docs/malaria_models/structure.md | 9 +++-- mkdocs.yml | 2 +- 9 files changed, 113 insertions(+), 98 deletions(-) diff --git a/docs/getting_started/example_run.md b/docs/getting_started/example_run.md index 9357db56..12a34d74 100644 --- a/docs/getting_started/example_run.md +++ b/docs/getting_started/example_run.md @@ -2,20 +2,19 @@ -
- Continue on this page if: -
    -
  • ✅ You have installed all required software -
  • -
  • ✅Your simulation is configured in manifest.py -
  • -
  • ✅You want to run MultiMalModPy from a container without manual installation -
  • -
  • ❌ If not, revisit the -
  • -  ➡️ Installation guide -  ➡️ First-time configuration -
+
+ Continue on this page if: + +
    +
  • ✅ You have installed all required software
  • +
  • ✅ Your simulation is configured in manifest.py
  • +
  • ✅ You want to run MultiMalModPy from a container without manual installation
  • +
  • + ❌ If not, revisit the
    +   ➡️ Installation guide
    +   ➡️ First-time configuration +
  • +
--- @@ -26,7 +25,7 @@ Quickly navigate to your preferred execution method: 🔹 [Run simulation – using Python virtual environment (HPC or local)](#using-python-virtual-environment-hpc-or-local) 🔹 [Run simulation – using Singularity container (HPC)](#using-singularity-container-hpc) 🔹 [Run simulation – using Docker (local)](#using-docker-local) -🔹 [Troubleshooting](#-troubleshooting) +🔹 [Troubleshooting](#troubleshooting) @@ -141,7 +140,7 @@ You can choose to run all three models (EMOD, malariasimulation, and OpenMalaria
-## Using Docker (local) +## Using Docker (Local) - To run MultiMalModPy inside a Docker container, double-click on `dependencies/run_mmmpy_docker.bat`. - Alternatively, you can follow manual steps as below (for developer, or troubleshooting). @@ -152,7 +151,7 @@ You can choose to run all three models (EMOD, malariasimulation, and OpenMalaria
**Ensure the Docker image is available on your computer** - - If you haven’t installed it yet, refer to the [installation page](../getting_started/installation.md#local-docker-image) + - If you haven’t installed it yet, refer to the [installation page](../getting_started/installation.md#using-docker-local) **Set up your directory path:** - In the example command below, replace `PATH_TO_REPO` with the directory path to your _MultiMalModPy_ folder on your computer, excluding the _MultiMalModPy_ directory itself. diff --git a/docs/getting_started/installation.md b/docs/getting_started/installation.md index 3d53fce2..20fa3ecf 100644 --- a/docs/getting_started/installation.md +++ b/docs/getting_started/installation.md @@ -397,7 +397,7 @@ r_local = "C:/Program Files/R/R-4.2.3/bin" singularity pull --arch amd64 library://rungma/multimalmodpy/mmmpy_hpc:rocky8 ``` -See full run instructions: [Example run](../getting_started/example_run.md#using-singularity-container) +See full run instructions: [Example run](../getting_started/example_run.md#using-singularity-container-hpc) ### Using Docker (Local) @@ -539,7 +539,7 @@ Replace OpenMalaria with malariasimulation, Running both models at once via dock 🔁 Replace `` (e.g., `C:\Users\\Documents`) with the full path to your MultiMalModPy folder. - 📘 More details: [Example Run – Docker Container](../getting_started/example_run.md#using-docker-container) + 📘 More details: [Example Run – Docker Container](../getting_started/example_run.md#using-docker-local)
diff --git a/docs/getting_started/overview.md b/docs/getting_started/overview.md index 2251a6fb..1274c031 100644 --- a/docs/getting_started/overview.md +++ b/docs/getting_started/overview.md @@ -57,7 +57,7 @@ The plotting system is modular and easily extendable. ## Repository Breakdown -### 🔹 Back-End (Model-Specific Logic) +### Back-End (Model-Specific Logic) Each model has its own directory with input handling, simulation execution, and output processing logic: @@ -66,7 +66,7 @@ Each model has its own directory with input handling, simulation execution, and - `OpenMalaria/` — OpenMalaria-specific scripts - `utility/` — generic helper functions -### 🔹 Front-End (User Scripts) +### Front-End (User Scripts) Located in the project root, these user-facing components control setup and execution: @@ -76,7 +76,7 @@ Located in the project root, these user-facing components control setup and exec - `interventions/` — optional: parameter scripts for intervention scenarios -### 🔹 Support and Infrastructure +### Support and Infrastructure - `dependencies/` — virtual environment setup, requirements.txt, and install scripts - `target_calibration/` — model-specific simulation outputs used for transmission calibration diff --git a/docs/guide/model_specificities.md b/docs/guide/model_specificities.md index a9902e56..c5a3de46 100644 --- a/docs/guide/model_specificities.md +++ b/docs/guide/model_specificities.md @@ -19,22 +19,23 @@ The following parameters need editing when running `launch_sim.py`: - The experiment ID for this burnin simulation will be needed when running the pickup simulation (and is saved automatically in folder, and also printed to console). -- To run a pickup simulation(s): - - In latest version of the framework, submitting a burnin simulation will automatically create and run a - corresponding pickup simulation via `launch_pickup.sh` - - In the files, `emod_step` is set to `pickup` and `emod_serialized_id` automatically to `` - - Note, pickup simulations cannot run without an attached experiment id (for EMOD). - - The `launch_pickup.sh` includes the following lines after the required SBATCH specifications: - - ``` - ml singularity/3.8.1 - ml python/3.9.16 - source /projects/b1139/environments/mmmpy_venv/bin/activate - - cd /projects/b1139/emod-om/MultiMalModPy - python launch_sim.py -d /_burnin80 --suite --expname --emodstep pickup --serializedid --models EMOD MalSim OpenMalaria - - ``` +- To run pickup simulation(s): + - In the latest version of the framework, submitting a burn-in simulation will automatically create and run a corresponding pickup simulation via `launch_pickup.sh`. + - In the files, `emod_step` is set to `pickup` and `emod_serialized_id` is automatically set to ``. + - Note that pickup simulations cannot run without an attached experiment ID for EMOD. + - The `launch_pickup.sh` script includes the following lines after the required SBATCH specifications: + +```bash +ml singularity/3.8.1 +ml python/3.9.16 +source /projects/b1139/environments/mmmpy_venv/bin/activate +``` + +```bash +cd /projects/b1139/emod-om/MultiMalModPy +python launch_sim.py -d /_burnin80 --suite --expname --emodstep pickup --serializedid --models EMOD MalSim OpenMalaria +``` + - To run a customized (new) pickup simulation(s): - Use the generated `launch_pickup.sh` as a template: @@ -54,19 +55,15 @@ The following parameters need editing when running `launch_sim.py`: ## Using alternative base calibration ### EMOD -This section is under construction... +No alternative base calibration publicly available at this time. ### OpenMalaria -Model variants OpenMalaria allows to take into account model and parameter uncertainty through varying [model variants](https://github.com/SwissTPH/openmalaria/wiki/ModelWithinHost#specification-of-model-variants)). However, for simplicity in MultiMalModPy, only the base model is included. -## Parameter sampling - ### malariasimulation -malariasimulation allows paramter sampling. In malariasimulation, accounting for parameter uncertainty to better reflect potential variability in the simulation results has been integrated by drawing parameter values from posterior distributions around defined parameter sets. @@ -107,6 +104,10 @@ The specific XML chunk, as used in MultiMalModPy [here](https://github.com/ahadi ``` +### malariasimulation +Importation not setup for malariasimulation in MultiMalModPy. + + ## Entomology mode ### EMOD @@ -140,4 +141,6 @@ The specific XML chunk, as used in MultiMalModPy [here](https://github.com/ahadi ``` +### malariasimulation +By default, the malariasimulation transmission setup in MultiMalModPy most closely corresponds to the framework's dynamic entomology mode. diff --git a/docs/guide/time.md b/docs/guide/time.md index 1fe8affe..9d820e36 100644 --- a/docs/guide/time.md +++ b/docs/guide/time.md @@ -10,13 +10,17 @@ _Implementation in MultiMalModPy_ In MultiMalModPy, the user can specify the following time related parameters: -- `start_year` -- `end_year` -- `emod_burnin` `malariasimulation_burnin` , `openmalaria_burnin` -- `openmalaria_survey_step` +- `start_year` +- `end_year` +- *model-specific burn-in* + - `emod_burnin` + - `malariasimulation_burnin` + - `openmalaria_burnin` +- `openmalaria_survey_step` -Example from [setup_sim.py](https://github.com/ahadi-analytics/MultiMalModPy/blob/main/setup_sim.py#L53C14-L53C96): + +Example from [setup_sim.py](https://github.com/ahadi-analytics/MultiMalModPy/blob/main/setup_sim.py#L88): ``` start_year = 2000 @@ -31,11 +35,16 @@ From those values, the burnin period is calculated automatically.
- NOTE: - In OpenMalaria, surveys track events since the last survey and capture the current state at the survey’s start (e.g., the number of patent hosts). - - - The minimum survey interval is 5 days. - - Only one survey interval can be specified per scenario. + NOTE: +

+ In OpenMalaria, surveys track events since the last survey and capture the + current state at the survey’s start (e.g., the number of patent hosts). +

+ +
    +
  • The minimum survey interval is 5 days.
  • +
  • Only one survey interval can be specified per scenario.
  • +
diff --git a/docs/malaria_models/input_output.md b/docs/malaria_models/input_output.md index 26054604..cae94af0 100644 --- a/docs/malaria_models/input_output.md +++ b/docs/malaria_models/input_output.md @@ -22,22 +22,21 @@ details, and interventions. For a detailed overview of these input files, refer to the official documentation: https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-inputs.html. -Key input files: +Key input files + - demographics file - configuration file - campaign file - climate files -**Implementation in MultiMalModPy:** -- ... -- ... -- ... - + **Implementation in MultiMalModPy** + - speicifc python scripts generate required input files ### malariasimulation malariasimulation comes with an R packages that includes all the necessary objects and configurations and no additional files are required. -**Implementation in MultiMalModPy:** +**Implementation in MultiMalModPy** + - a scenario CSV (`scen_df.csv`) is handled as an input for generate simulation scenarios - simulation parameters are derived from the `get_parameters` function and overwritten with scenario specific parameters (view script [here](https://github.com/ahadi-analytics/MultiMalModPy/blob/main/malariasimulation/functions/run_simulations.R#L77)) @@ -45,7 +44,7 @@ malariasimulation comes with an R packages that includes all the necessary objec In OpenMalaria, each simulation scenario is defined by a single XML input file (more details on the OpenMalaria wiki [here](https://github.com/SwissTPH/openmalaria/wiki/ScenarioDesign)). -**Implementation in MultiMalModPy:** +**Implementation in MultiMalModPy** - one XML main scaffold with placeholders for parameters or 'snippets' of XML lines to replace - parameter replacements `@parameter_value@` @@ -71,16 +70,17 @@ The format and number of output files per single scenario varies across the thre After a simulation finishes, a reporter extracts, aggregates, and saves the data as an output report in the working directory. These reports summarize different aspects of the simulation and can be in JSON, CSV, or binary formats. For a detailed overview of output files, refer to the official documentation: -https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-outputs.html +[https://emod.idmod.org/emodpy-malaria/emod/software-outputs/ ](https://emod.idmod.org/emodpy-malaria/emod/software-outputs/ ) + EMOD allows users to configure which reports are generated through specific settings. -By default, InsetChart.json is always created. More information described at: -https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-output.html +By default, InsetChart.json is always created. -Key output files used in MultiMalModPy and examples: -- [InsetChart.json](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-report-inset-chart.html) -- [MalariaSummary report](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-report-malaria-summary.html#) +Key output files used in MultiMalModPy and examples -**Implementation in MultiMalModPy:** +- [InsetChart.json](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-output.html) +- [MalariaSummary report](https://emod.idmod.org/emodpy-malaria/emod/software-report-malaria-summary/) + +**Implementation in MultiMalModPy** - Raw output files are written into the EMOD specific experiments folder `experiments//outputs`. - Each output file is written into a scenario specific folder with unique IDs that are automatically assigned in diff --git a/docs/malaria_models/interventions.md b/docs/malaria_models/interventions.md index b68d8eac..beac0d6e 100644 --- a/docs/malaria_models/interventions.md +++ b/docs/malaria_models/interventions.md @@ -49,26 +49,27 @@ Details on their function and implementation can be found in the framework’s #### treatment seeking - ```python - - def add_treatment_seeking(campaign, - start_day: int = 1, - targets: list = None, - drug: list = None, - node_ids: list = None, - ind_property_restrictions: list = None, - drug_ineligibility_duration: float = 0, - duration: int = -1, - broadcast_event_name: str = 'Received_Treatment'): - camp_events = _get_events(campaign=campaign, start_day=start_day, targets=targets, drug=drug, node_ids=node_ids, - ind_property_restrictions=ind_property_restrictions, - drug_ineligibility_duration=drug_ineligibility_duration, duration=duration, - broadcast_event_name=broadcast_event_name) - for event in camp_events: - campaign.add(event) - ``` - - ``` +```python + +def add_treatment_seeking(campaign, + start_day: int = 1, + targets: list = None, + drug: list = None, + node_ids: list = None, + ind_property_restrictions: list = None, + drug_ineligibility_duration: float = 0, + duration: int = -1, + broadcast_event_name: str = 'Received_Treatment'): + camp_events = _get_events(campaign=campaign, start_day=start_day, targets=targets, drug=drug, node_ids=node_ids, + ind_property_restrictions=ind_property_restrictions, + drug_ineligibility_duration=drug_ineligibility_duration, duration=duration, + broadcast_event_name=broadcast_event_name) + for event in camp_events: + campaign.add(event) +``` + + +```bash targets is a list of dictionaries defining the trigger event and coverage for and properties of individuals to target with the intervention with all possible options being: [{"trigger":"NewClinicalCase","coverage":0.8,"agemin":15,"agemax":70, "rate":0.3}] @@ -77,7 +78,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an coverage = 1, affects all agemin/agemax = 0/125, affects all rate = 0, no delay, seek treatment immediately - ``` +``` #### json snippet (example) @@ -178,7 +179,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an "Start_Day": 1 } - ``` +``` @@ -193,7 +194,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an #### set_clinical_treatment - ```R +```R set_clinical_treatment <- function(parameters, drug, timesteps, coverages) { stopifnot(all(coverages >= 0) && all(coverages <= 1)) @@ -217,7 +218,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an } parameters } - ``` +```
@@ -236,7 +237,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an #### ImmediateOutcomes - ```XML +```XML @@ -265,7 +266,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an - ``` +``` diff --git a/docs/malaria_models/structure.md b/docs/malaria_models/structure.md index f0f9b18f..14378a3d 100644 --- a/docs/malaria_models/structure.md +++ b/docs/malaria_models/structure.md @@ -45,14 +45,17 @@ The malaria model structure for EMOD is detailed in the [malaria-model-overview] ### Transmission dynamics -**EMOD**: +**EMOD** + - 'dynamic' transmission, using [Larval Habitat](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-larval-habitat.html) and [climate](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-climate-demographics.html) as inputs. - 'forced' transmission, using [InputEIR](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-campaign-node-inputeir.html). -**malariasimulation**: +**malariasimulation** + - 'dynamic' transmission, using EIR together with monthly rainfall (see [seasonality](../guide/seasonality.md)) as input. -**OpenMalaria**: +**OpenMalaria** + - 'dynamic' transmission, using EIR as input [ModelTransmission](https://github.com/SwissTPH/openmalaria/wiki/ModelTransmission). - 'forced' transmission, using EIR as input [ModelTransmission](https://github.com/SwissTPH/openmalaria/wiki/ModelTransmission). diff --git a/mkdocs.yml b/mkdocs.yml index 464a7325..7a202bec 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,7 +5,7 @@ site_url: https://ahadi-analytics.github.io/MultiMalModPy/ repo_url: https://github.com/ahadi-analytics/MultiMalModPy edit_uri: edit/main/docs/ site_author: AHADI Analytics -copyright: Copyright © 2023 - 2025 AHADI +copyright: Copyright © 2023 - 2026 AHADI plugins: - search From a5a5ab53b6f56e70604fb2daad39ab3146538f35 Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Fri, 11 Sep 2026 19:03:21 +0200 Subject: [PATCH 03/10] online docs - developer page update --- docs/developer/create_new_release.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/developer/create_new_release.md b/docs/developer/create_new_release.md index 9ba4b597..e44a7078 100644 --- a/docs/developer/create_new_release.md +++ b/docs/developer/create_new_release.md @@ -8,11 +8,9 @@ Each version represents a distinct state of the codebase, including core framewo ## Versioning -MultiMalModPy follows a scheme inspired by [Google's versioning guidelines](https://google.github.io/styleguide/versioning.html), using: -- **Semantic versioning** (`MAJOR.MINOR.PATCH`) for public releases -- A `-devN` suffix for development/pre-release versions +MultiMalModPy follows [Semantic Versioning](https://semver.org/) (`MAJOR.MINOR.PATCH`) for public releases with a `-devN` suffix used for development and pre-release versions. - There are two version types used in MultiMalModPy: +There are two version types used in MultiMalModPy: ### Stable (Public) Releases @@ -28,7 +26,7 @@ These versions are: - Uploaded to the [GitHub Releases](https://github.com/ahadi-analytics/MultiMalModPy/releases) page -### Development (Pre-)Releases +### Development Releases Development versions use the same format as stable releases but include a `-devN` suffix: `MAJOR.MINOR.PATCH-devN` From fbc2a18048b1e5732a9b77efd0b6625795f240b0 Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Sun, 13 Sep 2026 17:21:39 +0200 Subject: [PATCH 04/10] fix mkdocs parsing issues and other minor edits --- docs/getting_started/example_run.md | 33 +++++++++-------- docs/getting_started/installation.md | 4 +-- docs/getting_started/overview.md | 6 ++-- docs/guide/model_specificities.md | 45 ++++++++++++----------- docs/guide/time.md | 29 +++++++++------ docs/malaria_models/input_output.md | 30 ++++++++-------- docs/malaria_models/interventions.md | 53 ++++++++++++++-------------- docs/malaria_models/structure.md | 9 +++-- mkdocs.yml | 2 +- 9 files changed, 113 insertions(+), 98 deletions(-) diff --git a/docs/getting_started/example_run.md b/docs/getting_started/example_run.md index 9357db56..12a34d74 100644 --- a/docs/getting_started/example_run.md +++ b/docs/getting_started/example_run.md @@ -2,20 +2,19 @@ -
- Continue on this page if: -
    -
  • ✅ You have installed all required software -
  • -
  • ✅Your simulation is configured in manifest.py -
  • -
  • ✅You want to run MultiMalModPy from a container without manual installation -
  • -
  • ❌ If not, revisit the -
  • -  ➡️ Installation guide -  ➡️ First-time configuration -
+
+ Continue on this page if: + +
    +
  • ✅ You have installed all required software
  • +
  • ✅ Your simulation is configured in manifest.py
  • +
  • ✅ You want to run MultiMalModPy from a container without manual installation
  • +
  • + ❌ If not, revisit the
    +   ➡️ Installation guide
    +   ➡️ First-time configuration +
  • +
--- @@ -26,7 +25,7 @@ Quickly navigate to your preferred execution method: 🔹 [Run simulation – using Python virtual environment (HPC or local)](#using-python-virtual-environment-hpc-or-local) 🔹 [Run simulation – using Singularity container (HPC)](#using-singularity-container-hpc) 🔹 [Run simulation – using Docker (local)](#using-docker-local) -🔹 [Troubleshooting](#-troubleshooting) +🔹 [Troubleshooting](#troubleshooting) @@ -141,7 +140,7 @@ You can choose to run all three models (EMOD, malariasimulation, and OpenMalaria
-## Using Docker (local) +## Using Docker (Local) - To run MultiMalModPy inside a Docker container, double-click on `dependencies/run_mmmpy_docker.bat`. - Alternatively, you can follow manual steps as below (for developer, or troubleshooting). @@ -152,7 +151,7 @@ You can choose to run all three models (EMOD, malariasimulation, and OpenMalaria
**Ensure the Docker image is available on your computer** - - If you haven’t installed it yet, refer to the [installation page](../getting_started/installation.md#local-docker-image) + - If you haven’t installed it yet, refer to the [installation page](../getting_started/installation.md#using-docker-local) **Set up your directory path:** - In the example command below, replace `PATH_TO_REPO` with the directory path to your _MultiMalModPy_ folder on your computer, excluding the _MultiMalModPy_ directory itself. diff --git a/docs/getting_started/installation.md b/docs/getting_started/installation.md index 3d53fce2..20fa3ecf 100644 --- a/docs/getting_started/installation.md +++ b/docs/getting_started/installation.md @@ -397,7 +397,7 @@ r_local = "C:/Program Files/R/R-4.2.3/bin" singularity pull --arch amd64 library://rungma/multimalmodpy/mmmpy_hpc:rocky8 ``` -See full run instructions: [Example run](../getting_started/example_run.md#using-singularity-container) +See full run instructions: [Example run](../getting_started/example_run.md#using-singularity-container-hpc) ### Using Docker (Local) @@ -539,7 +539,7 @@ Replace OpenMalaria with malariasimulation, Running both models at once via dock 🔁 Replace `` (e.g., `C:\Users\\Documents`) with the full path to your MultiMalModPy folder. - 📘 More details: [Example Run – Docker Container](../getting_started/example_run.md#using-docker-container) + 📘 More details: [Example Run – Docker Container](../getting_started/example_run.md#using-docker-local)
diff --git a/docs/getting_started/overview.md b/docs/getting_started/overview.md index 2251a6fb..1274c031 100644 --- a/docs/getting_started/overview.md +++ b/docs/getting_started/overview.md @@ -57,7 +57,7 @@ The plotting system is modular and easily extendable. ## Repository Breakdown -### 🔹 Back-End (Model-Specific Logic) +### Back-End (Model-Specific Logic) Each model has its own directory with input handling, simulation execution, and output processing logic: @@ -66,7 +66,7 @@ Each model has its own directory with input handling, simulation execution, and - `OpenMalaria/` — OpenMalaria-specific scripts - `utility/` — generic helper functions -### 🔹 Front-End (User Scripts) +### Front-End (User Scripts) Located in the project root, these user-facing components control setup and execution: @@ -76,7 +76,7 @@ Located in the project root, these user-facing components control setup and exec - `interventions/` — optional: parameter scripts for intervention scenarios -### 🔹 Support and Infrastructure +### Support and Infrastructure - `dependencies/` — virtual environment setup, requirements.txt, and install scripts - `target_calibration/` — model-specific simulation outputs used for transmission calibration diff --git a/docs/guide/model_specificities.md b/docs/guide/model_specificities.md index a9902e56..c5a3de46 100644 --- a/docs/guide/model_specificities.md +++ b/docs/guide/model_specificities.md @@ -19,22 +19,23 @@ The following parameters need editing when running `launch_sim.py`: - The experiment ID for this burnin simulation will be needed when running the pickup simulation (and is saved automatically in folder, and also printed to console). -- To run a pickup simulation(s): - - In latest version of the framework, submitting a burnin simulation will automatically create and run a - corresponding pickup simulation via `launch_pickup.sh` - - In the files, `emod_step` is set to `pickup` and `emod_serialized_id` automatically to `` - - Note, pickup simulations cannot run without an attached experiment id (for EMOD). - - The `launch_pickup.sh` includes the following lines after the required SBATCH specifications: - - ``` - ml singularity/3.8.1 - ml python/3.9.16 - source /projects/b1139/environments/mmmpy_venv/bin/activate - - cd /projects/b1139/emod-om/MultiMalModPy - python launch_sim.py -d /_burnin80 --suite --expname --emodstep pickup --serializedid --models EMOD MalSim OpenMalaria - - ``` +- To run pickup simulation(s): + - In the latest version of the framework, submitting a burn-in simulation will automatically create and run a corresponding pickup simulation via `launch_pickup.sh`. + - In the files, `emod_step` is set to `pickup` and `emod_serialized_id` is automatically set to ``. + - Note that pickup simulations cannot run without an attached experiment ID for EMOD. + - The `launch_pickup.sh` script includes the following lines after the required SBATCH specifications: + +```bash +ml singularity/3.8.1 +ml python/3.9.16 +source /projects/b1139/environments/mmmpy_venv/bin/activate +``` + +```bash +cd /projects/b1139/emod-om/MultiMalModPy +python launch_sim.py -d /_burnin80 --suite --expname --emodstep pickup --serializedid --models EMOD MalSim OpenMalaria +``` + - To run a customized (new) pickup simulation(s): - Use the generated `launch_pickup.sh` as a template: @@ -54,19 +55,15 @@ The following parameters need editing when running `launch_sim.py`: ## Using alternative base calibration ### EMOD -This section is under construction... +No alternative base calibration publicly available at this time. ### OpenMalaria -Model variants OpenMalaria allows to take into account model and parameter uncertainty through varying [model variants](https://github.com/SwissTPH/openmalaria/wiki/ModelWithinHost#specification-of-model-variants)). However, for simplicity in MultiMalModPy, only the base model is included. -## Parameter sampling - ### malariasimulation -malariasimulation allows paramter sampling. In malariasimulation, accounting for parameter uncertainty to better reflect potential variability in the simulation results has been integrated by drawing parameter values from posterior distributions around defined parameter sets. @@ -107,6 +104,10 @@ The specific XML chunk, as used in MultiMalModPy [here](https://github.com/ahadi ``` +### malariasimulation +Importation not setup for malariasimulation in MultiMalModPy. + + ## Entomology mode ### EMOD @@ -140,4 +141,6 @@ The specific XML chunk, as used in MultiMalModPy [here](https://github.com/ahadi ``` +### malariasimulation +By default, the malariasimulation transmission setup in MultiMalModPy most closely corresponds to the framework's dynamic entomology mode. diff --git a/docs/guide/time.md b/docs/guide/time.md index 1fe8affe..9d820e36 100644 --- a/docs/guide/time.md +++ b/docs/guide/time.md @@ -10,13 +10,17 @@ _Implementation in MultiMalModPy_ In MultiMalModPy, the user can specify the following time related parameters: -- `start_year` -- `end_year` -- `emod_burnin` `malariasimulation_burnin` , `openmalaria_burnin` -- `openmalaria_survey_step` +- `start_year` +- `end_year` +- *model-specific burn-in* + - `emod_burnin` + - `malariasimulation_burnin` + - `openmalaria_burnin` +- `openmalaria_survey_step` -Example from [setup_sim.py](https://github.com/ahadi-analytics/MultiMalModPy/blob/main/setup_sim.py#L53C14-L53C96): + +Example from [setup_sim.py](https://github.com/ahadi-analytics/MultiMalModPy/blob/main/setup_sim.py#L88): ``` start_year = 2000 @@ -31,11 +35,16 @@ From those values, the burnin period is calculated automatically.
- NOTE: - In OpenMalaria, surveys track events since the last survey and capture the current state at the survey’s start (e.g., the number of patent hosts). - - - The minimum survey interval is 5 days. - - Only one survey interval can be specified per scenario. + NOTE: +

+ In OpenMalaria, surveys track events since the last survey and capture the + current state at the survey’s start (e.g., the number of patent hosts). +

+ +
    +
  • The minimum survey interval is 5 days.
  • +
  • Only one survey interval can be specified per scenario.
  • +
diff --git a/docs/malaria_models/input_output.md b/docs/malaria_models/input_output.md index 26054604..cae94af0 100644 --- a/docs/malaria_models/input_output.md +++ b/docs/malaria_models/input_output.md @@ -22,22 +22,21 @@ details, and interventions. For a detailed overview of these input files, refer to the official documentation: https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-inputs.html. -Key input files: +Key input files + - demographics file - configuration file - campaign file - climate files -**Implementation in MultiMalModPy:** -- ... -- ... -- ... - + **Implementation in MultiMalModPy** + - speicifc python scripts generate required input files ### malariasimulation malariasimulation comes with an R packages that includes all the necessary objects and configurations and no additional files are required. -**Implementation in MultiMalModPy:** +**Implementation in MultiMalModPy** + - a scenario CSV (`scen_df.csv`) is handled as an input for generate simulation scenarios - simulation parameters are derived from the `get_parameters` function and overwritten with scenario specific parameters (view script [here](https://github.com/ahadi-analytics/MultiMalModPy/blob/main/malariasimulation/functions/run_simulations.R#L77)) @@ -45,7 +44,7 @@ malariasimulation comes with an R packages that includes all the necessary objec In OpenMalaria, each simulation scenario is defined by a single XML input file (more details on the OpenMalaria wiki [here](https://github.com/SwissTPH/openmalaria/wiki/ScenarioDesign)). -**Implementation in MultiMalModPy:** +**Implementation in MultiMalModPy** - one XML main scaffold with placeholders for parameters or 'snippets' of XML lines to replace - parameter replacements `@parameter_value@` @@ -71,16 +70,17 @@ The format and number of output files per single scenario varies across the thre After a simulation finishes, a reporter extracts, aggregates, and saves the data as an output report in the working directory. These reports summarize different aspects of the simulation and can be in JSON, CSV, or binary formats. For a detailed overview of output files, refer to the official documentation: -https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-outputs.html +[https://emod.idmod.org/emodpy-malaria/emod/software-outputs/ ](https://emod.idmod.org/emodpy-malaria/emod/software-outputs/ ) + EMOD allows users to configure which reports are generated through specific settings. -By default, InsetChart.json is always created. More information described at: -https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-output.html +By default, InsetChart.json is always created. -Key output files used in MultiMalModPy and examples: -- [InsetChart.json](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-report-inset-chart.html) -- [MalariaSummary report](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-report-malaria-summary.html#) +Key output files used in MultiMalModPy and examples -**Implementation in MultiMalModPy:** +- [InsetChart.json](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-output.html) +- [MalariaSummary report](https://emod.idmod.org/emodpy-malaria/emod/software-report-malaria-summary/) + +**Implementation in MultiMalModPy** - Raw output files are written into the EMOD specific experiments folder `experiments//outputs`. - Each output file is written into a scenario specific folder with unique IDs that are automatically assigned in diff --git a/docs/malaria_models/interventions.md b/docs/malaria_models/interventions.md index b68d8eac..beac0d6e 100644 --- a/docs/malaria_models/interventions.md +++ b/docs/malaria_models/interventions.md @@ -49,26 +49,27 @@ Details on their function and implementation can be found in the framework’s #### treatment seeking - ```python - - def add_treatment_seeking(campaign, - start_day: int = 1, - targets: list = None, - drug: list = None, - node_ids: list = None, - ind_property_restrictions: list = None, - drug_ineligibility_duration: float = 0, - duration: int = -1, - broadcast_event_name: str = 'Received_Treatment'): - camp_events = _get_events(campaign=campaign, start_day=start_day, targets=targets, drug=drug, node_ids=node_ids, - ind_property_restrictions=ind_property_restrictions, - drug_ineligibility_duration=drug_ineligibility_duration, duration=duration, - broadcast_event_name=broadcast_event_name) - for event in camp_events: - campaign.add(event) - ``` - - ``` +```python + +def add_treatment_seeking(campaign, + start_day: int = 1, + targets: list = None, + drug: list = None, + node_ids: list = None, + ind_property_restrictions: list = None, + drug_ineligibility_duration: float = 0, + duration: int = -1, + broadcast_event_name: str = 'Received_Treatment'): + camp_events = _get_events(campaign=campaign, start_day=start_day, targets=targets, drug=drug, node_ids=node_ids, + ind_property_restrictions=ind_property_restrictions, + drug_ineligibility_duration=drug_ineligibility_duration, duration=duration, + broadcast_event_name=broadcast_event_name) + for event in camp_events: + campaign.add(event) +``` + + +```bash targets is a list of dictionaries defining the trigger event and coverage for and properties of individuals to target with the intervention with all possible options being: [{"trigger":"NewClinicalCase","coverage":0.8,"agemin":15,"agemax":70, "rate":0.3}] @@ -77,7 +78,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an coverage = 1, affects all agemin/agemax = 0/125, affects all rate = 0, no delay, seek treatment immediately - ``` +``` #### json snippet (example) @@ -178,7 +179,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an "Start_Day": 1 } - ``` +``` @@ -193,7 +194,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an #### set_clinical_treatment - ```R +```R set_clinical_treatment <- function(parameters, drug, timesteps, coverages) { stopifnot(all(coverages >= 0) && all(coverages <= 1)) @@ -217,7 +218,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an } parameters } - ``` +```
@@ -236,7 +237,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an #### ImmediateOutcomes - ```XML +```XML @@ -265,7 +266,7 @@ targets is a list of dictionaries defining the trigger event and coverage for an - ``` +``` diff --git a/docs/malaria_models/structure.md b/docs/malaria_models/structure.md index f0f9b18f..14378a3d 100644 --- a/docs/malaria_models/structure.md +++ b/docs/malaria_models/structure.md @@ -45,14 +45,17 @@ The malaria model structure for EMOD is detailed in the [malaria-model-overview] ### Transmission dynamics -**EMOD**: +**EMOD** + - 'dynamic' transmission, using [Larval Habitat](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-larval-habitat.html) and [climate](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-climate-demographics.html) as inputs. - 'forced' transmission, using [InputEIR](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-campaign-node-inputeir.html). -**malariasimulation**: +**malariasimulation** + - 'dynamic' transmission, using EIR together with monthly rainfall (see [seasonality](../guide/seasonality.md)) as input. -**OpenMalaria**: +**OpenMalaria** + - 'dynamic' transmission, using EIR as input [ModelTransmission](https://github.com/SwissTPH/openmalaria/wiki/ModelTransmission). - 'forced' transmission, using EIR as input [ModelTransmission](https://github.com/SwissTPH/openmalaria/wiki/ModelTransmission). diff --git a/mkdocs.yml b/mkdocs.yml index 464a7325..7a202bec 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,7 +5,7 @@ site_url: https://ahadi-analytics.github.io/MultiMalModPy/ repo_url: https://github.com/ahadi-analytics/MultiMalModPy edit_uri: edit/main/docs/ site_author: AHADI Analytics -copyright: Copyright © 2023 - 2025 AHADI +copyright: Copyright © 2023 - 2026 AHADI plugins: - search From 4173627f8e7b6f9b4c0ab821a670d3ee63e73ea0 Mon Sep 17 00:00:00 2001 From: Glenn Kipanga Date: Thu, 17 Sep 2026 14:28:51 +0300 Subject: [PATCH 05/10] docs: update stale EMOD/idmod.org documentation links to emod.idmod.org --- docs/index.md | 4 ++-- docs/malaria_models/documentation-and-sourcecode.md | 6 +++--- docs/malaria_models/software.md | 4 ++-- docs/malaria_models/structure.md | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/index.md b/docs/index.md index eb8fda42..a80c969e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,7 @@ # MultiMalModPy: A Python Framework for Multi-Model Malaria Simulation -A HPC-oriented framework in [Python](https://www.python.org/) and [R](https://www.r-project.org/) that enables users to interact with [EMOD](https://docs.idmod.org/projects/emod-malaria/en/2.20_a/)-malaria, [malariasimulation](https://mrc-ide.github.io/malariasimulation/index.html), and [OpenMalaria](https://github.com/SwissTPH/openmalaria/wiki). +A HPC-oriented framework in [Python](https://www.python.org/) and [R](https://www.r-project.org/) that enables users to interact with [EMOD](https://emod.idmod.org/emodpy-malaria/)-malaria, [malariasimulation](https://mrc-ide.github.io/malariasimulation/index.html), and [OpenMalaria](https://github.com/SwissTPH/openmalaria/wiki). MultiMalModPy is designed for modelers already familiar with one of these models, as well as for those who wish to learn more about all three models in a unified and accessible approach. It allows to run the models in combination or alone for model characterization and comparison. @@ -19,7 +19,7 @@ _This guide is a supplementary resource and should be used alongside the officia Overview and comparison of the malaria models supported by MultiMalModPy. - USER GUIDE Step-by-step instructions for installing, configuring, and running MultiMalModPy, with details on parameter customization and platform-specific execution. -➡ [**Glossary**](http://127.0.0.1:8000/MultiMalModPy/getting_started/glossary/) +➡ [**Glossary**](https://ahadi-analytics.github.io/MultiMalModPy/getting_started/glossary/) - SIMULATION GUIDE Parameters and configuration options for defining simulations in MultiMalModPy. - DEVELOPER GUIDE diff --git a/docs/malaria_models/documentation-and-sourcecode.md b/docs/malaria_models/documentation-and-sourcecode.md index 301164c7..2a612c44 100644 --- a/docs/malaria_models/documentation-and-sourcecode.md +++ b/docs/malaria_models/documentation-and-sourcecode.md @@ -14,9 +14,9 @@ Visit the respective GitHub repositories: |---------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Malaria model | [model-overview](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/model-overview.html) | [Model](https://mrc-ide.github.io/malariasimulation/articles/Model.html) | [openmalaria/wiki](https://github.com/SwissTPH/openmalaria/wiki/ ) | | Time &
setup | [parameter-conf.-setup](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-setup.html)
[software-serializing-pops](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-serializing-pops.html) | [run simulation](https://mrc-ide.github.io/malariasimulation/articles/Model.html#run-simulation)
[set equilibrium](https://mrc-ide.github.io/malariasimulation/articles/Model.html#set-equilibrium) | [modelTimeUpdates](https://github.com/SwissTPH/openmalaria/wiki/modelTimeUpdates) | -| Human demography
& population dynamics | [parameter-conf.-population](https://docs.idmod.org/projects/emod-malaria/en/latest/parameter-configuration-population.html) | [Demography](https://mrc-ide.github.io/malariasimulation/articles/Demography.html) | [ModelDemography](https://github.com/SwissTPH/openmalaria/wiki/ModelDemography) | -| Vector model | [vector-model-overview](https://docs.idmod.org/projects/emod-malaria/en/latest/vector-model-overview.html)
[vector-model-transmission](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-transmission.html) | [Mosquito biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#mosquito-biology) | [ModelMosqPopDynamics](https://github.com/SwissTPH/openmalaria/wiki/ModelMosqPopDynamics)
[mosquito-lifecycle-and-behaviour](https://github.com/SwissTPH/openmalaria/wiki/XMLEntoVector#mosquito-lifecycle-and-behaviour) | -| Larval model | [vector-model
larval-habitat](https://docs.idmod.org/projects/emod-malaria/en/latest/vector-model-larval-habitat.html) | [Carrying capacity](https://mrc-ide.github.io/malariasimulation/articles/Carrying-capacity.html) | [ModelMosqPopDynamics](https://github.com/SwissTPH/openmalaria/wiki/ModelMosqPopDynamics) | +| Human demography
& population dynamics | [parameter-conf.-population](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-population/) | [Demography](https://mrc-ide.github.io/malariasimulation/articles/Demography.html) | [ModelDemography](https://github.com/SwissTPH/openmalaria/wiki/ModelDemography) | +| Vector model | [vector-model-overview](https://emod.idmod.org/emodpy-malaria/emod/vector-model-overview/)
[vector-model-transmission](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-transmission.html) | [Mosquito biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#mosquito-biology) | [ModelMosqPopDynamics](https://github.com/SwissTPH/openmalaria/wiki/ModelMosqPopDynamics)
[mosquito-lifecycle-and-behaviour](https://github.com/SwissTPH/openmalaria/wiki/XMLEntoVector#mosquito-lifecycle-and-behaviour) | +| Larval model | [vector-model
larval-habitat](https://emod.idmod.org/emodpy-malaria/emod/vector-model-larval-habitat/) | [Carrying capacity](https://mrc-ide.github.io/malariasimulation/articles/Carrying-capacity.html) | [ModelMosqPopDynamics](https://github.com/SwissTPH/openmalaria/wiki/ModelMosqPopDynamics) | | Climate &
seasonality | [vector-model
climate-demographics](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-climate-demographics.html) | [seasonality](https://mrc-ide.github.io/malariasimulation/articles/Model.html#seasonality) | [ScenarioTransmission](https://github.com/SwissTPH/openmalaria/wiki/ScenarioTransmission) | | Malaria
transmission | [malaria-model-overview](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-model-overview.html) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ScenarioTransmission](https://github.com/SwissTPH/openmalaria/wiki/ScenarioTransmission) | | Within-host
dynamics | [malaria-model
infection-immunity](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-model-infection-immunity.html) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ModelWithinHost](https://github.com/SwissTPH/openmalaria/wiki/ModelWithinHost) | diff --git a/docs/malaria_models/software.md b/docs/malaria_models/software.md index e710963a..5f629704 100644 --- a/docs/malaria_models/software.md +++ b/docs/malaria_models/software.md @@ -17,7 +17,7 @@ Table: Overview of model software and infrastructure | | EMOD | malariasimulation | OpenMalaria | |-------------------|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------| -| Documentation | [idmod.org/tool/
emod-malaria](https://www.idmod.org/tool/emod-malaria/) | [mrc-ide.github.io/
malariasimulation](https://mrc-ide.github.io/malariasimulation/index.html) | [SwissTPH/
openmalaria/wiki](https://github.com/SwissTPH/openmalaria/wiki) | +| Documentation | [idmod.org/tool/
emod-malaria](https://emod.idmod.org/emodpy-malaria/) | [mrc-ide.github.io/
malariasimulation](https://mrc-ide.github.io/malariasimulation/index.html) | [SwissTPH/
openmalaria/wiki](https://github.com/SwissTPH/openmalaria/wiki) | | GitHub | [EMOD-Hub/
emodpy-malaria](https://github.com/EMOD-Hub/emodpy-malaria ) | [mrc-ide/
malariasimulation](https://github.com/mrc-ide/malariasimulation) | [SwissTPH/
openmalaria/ ](https://github.com/SwissTPH/openmalaria/ ) | | Accessibility | Open source | Open source | Open source | | Language | C++ | C++/R | C++ | @@ -29,5 +29,5 @@ Table: Overview of model software and infrastructure | Output file type | json | stored in
the R environment | txt | | N input files | 5+ | NA | 1 | | N output files | custom | NA | 2 | -| Glossary | [glossary](https://docs.idmod.org/projects/emod-malaria/en/latest/glossary.html) | `help(malariasimulation)`
[articles/Model](https://mrc-ide.github.io/malariasimulation/articles/Model.html) | [Terminology](https://github.com/SwissTPH/openmalaria/wiki/Terminology) | +| Glossary | [glossary](https://emod.idmod.org/emodpy-malaria/glossary/) | `help(malariasimulation)`
[articles/Model](https://mrc-ide.github.io/malariasimulation/articles/Model.html) | [Terminology](https://github.com/SwissTPH/openmalaria/wiki/Terminology) | diff --git a/docs/malaria_models/structure.md b/docs/malaria_models/structure.md index 14378a3d..9637bded 100644 --- a/docs/malaria_models/structure.md +++ b/docs/malaria_models/structure.md @@ -10,7 +10,7 @@
**EMOD**: EMOD incorporates age-dependent transmission risk, the development of partial immunity due to cumulative exposure, and maternal antibody protection. -The malaria model structure for EMOD is detailed in the [malaria-model-overview](https://docs.idmod.org/projects/emod-malaria/en/2.20_a/malaria-model-overview.html) and related publications. +The malaria model structure for EMOD is detailed in the [malaria-model-overview](https://emod.idmod.org/emodpy-malaria/emod/malaria-model-overview/) and related publications. **malariasimulation**: The model structure for malariasimulation is outlined in the [model structure](https://mrc-ide.github.io/malariasimulation/articles/Model.html) and related publications. @@ -38,7 +38,7 @@ The malaria model structure for EMOD is detailed in the [malaria-model-overview] ### Population and age demography -- **EMOD**: [Population dynamics](https://docs.idmod.org/projects/emod-malaria/en/latest/parameter-configuration-population.html?highlight=birth) +- **EMOD**: [Population dynamics](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-population/) - **malariasimulation**: [ModelDemography]() - **OpenMalaria**: [Demography](https://github.com/SwissTPH/openmalaria/wiki/ModelDemography) From 055a2ef4f3a483c3ca6e9b7c0d6fc8221289d6ac Mon Sep 17 00:00:00 2001 From: Glenn Kipanga Date: Thu, 17 Sep 2026 14:29:17 +0300 Subject: [PATCH 06/10] docs: remove leftover merge-conflict marker from interventions table --- docs/malaria_models/interventions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/malaria_models/interventions.md b/docs/malaria_models/interventions.md index beac0d6e..7ec48991 100644 --- a/docs/malaria_models/interventions.md +++ b/docs/malaria_models/interventions.md @@ -33,7 +33,7 @@ _Box is checked if aligned_ | Target population | ✔ | Whole population treated equally (no age-specific targeting). | | Resistance | ✔ | Drug resistance **not included** in this release. | | Deployment time & duration | ✔ | Intervention begins at **start of simulation** and remains constant. | -======= + Details on their function and implementation can be found in the framework’s **API** under the `intervention.py` script for each model. From 3d0d0df39a23d897393a8f14e3ddf8b12db6dc82 Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Fri, 9 Oct 2026 19:47:08 +0200 Subject: [PATCH 07/10] updated docs/requirements.txt --- docs/requirements.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 88724387..b3ecfcaa 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,20 +3,20 @@ mkdocs==1.6.1 mkdocs-autorefs==1.2.0 mkdocs-get-deps==0.2.0 mkdocs-git-revision-date-localized-plugin==1.3.0 -mkdocs-include-markdown-plugin==7.1.2 -mkdocs-material==9.5.42 +mkdocs-include-markdown-plugin>=7.1.8 +mkdocs-material>=9.7.7 mkdocs-material-extensions==1.3.1 mkdocs-versioning==0.4.0 mkdocstrings==0.26.2 mkdocstrings-python==1.12.1 # Markdown & Syntax Highlighting -Markdown==3.7 -pygments==2.18.0 -pymdown-extensions==10.11.2 +Markdown>=3.8.1 +Pygments>=2.20.0 +pymdown-extensions>=11.0.1 # Supporting Libraries -Jinja2==3.0.2 +jinja2>=3.1.6 PyYAML==6.0.1 ghp-import==2.1.0 watchdog==5.0.0 \ No newline at end of file From 890357b2b0beead92fc786b710c6f498c414bec1 Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Fri, 9 Oct 2026 20:47:58 +0200 Subject: [PATCH 08/10] docs: update additional stale EMOD/idmod.org documentation links to emod.idmod.org and SwissTPH WIki to OpenMalaria-Org --- docs/developer/postprocessing.md | 2 +- docs/developer/update_models.md | 2 +- docs/guide/model_specificities.md | 2 +- .../documentation-and-sourcecode.md | 30 +++++++++---------- docs/malaria_models/input_output.md | 6 ++-- docs/malaria_models/interventions.md | 6 ++-- docs/malaria_models/software.md | 6 ++-- docs/malaria_models/structure.md | 12 ++++---- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/docs/developer/postprocessing.md b/docs/developer/postprocessing.md index c369f20f..a918d7f2 100644 --- a/docs/developer/postprocessing.md +++ b/docs/developer/postprocessing.md @@ -16,7 +16,7 @@ if exp.openmalaria_survey_step == '1y': ### Annual analyzer -[survey-measures](https://github.com/SwissTPH/openmalaria/wiki/MonitoringOptions#survey-measures) +[survey-measures](https://github.com/OpenMalaria-Org/openmalaria/wiki/MonitoringOptions#survey-measures) nHost: Total number of humans nPatent: The number of human hosts whose total (blood-stage) parasite density is above the detection threshold nUncomp: number of episodes (uncomplicated) [...detailed description on the Wiki] diff --git a/docs/developer/update_models.md b/docs/developer/update_models.md index 059f7ca6..dc20c123 100644 --- a/docs/developer/update_models.md +++ b/docs/developer/update_models.md @@ -83,7 +83,7 @@ These instructions were adapted from the original setup notes by **Scott Coughli ``` cd /gpfs/projects/b1139/OpenMalaria/ -wget https://github.com/SwissTPH/openmalaria/releases/download/schema-48.0/openMalaria-ubuntu-24.04.tar.gz +wget https://github.com/OpenMalaria-Org/openmalaria/releases/download/schema-48.0/openMalaria-ubuntu-24.04.tar.gz tar -xvzf openMalaria-ubuntu-24.04.tar.gz rm openMalaria-ubuntu-24.04.tar.gz mv openMalaria-ubuntu-24.04 om_v48 diff --git a/docs/guide/model_specificities.md b/docs/guide/model_specificities.md index c5a3de46..1e0e682d 100644 --- a/docs/guide/model_specificities.md +++ b/docs/guide/model_specificities.md @@ -134,7 +134,7 @@ You can find details on parameter sweeping for building scenarios under [simulat ### OpenMalaria `entomology_mode` in OpenMalaria defines the feedback from human infectiousness to subsequent Entomological Infection Rate (EIR). -`entomology_mode` in OpenMalaria is setup by literally defining the ['mode of entomology'](https://github.com/SwissTPH/openmalaria/wiki/ModelTransmission#simulation-mode): +`entomology_mode` in OpenMalaria is setup by literally defining the ['mode of entomology'](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelTransmission#simulation-mode): The specific XML chunk, as used in MultiMalModPy [here](https://github.com/ahadi-analytics/MultiMalModPy/blob/main/OpenMalaria/scaffolds/R0000GA.xml#L131C6-L131C21), is shown below: ```XML diff --git a/docs/malaria_models/documentation-and-sourcecode.md b/docs/malaria_models/documentation-and-sourcecode.md index 2a612c44..4e7454c8 100644 --- a/docs/malaria_models/documentation-and-sourcecode.md +++ b/docs/malaria_models/documentation-and-sourcecode.md @@ -5,25 +5,25 @@ Visit the respective GitHub repositories: - EMOD [source code](https://github.com/EMOD-Hub/EMOD) - malariasimulation [source code](https://github.com/mrc-ide/malariasimulation) -- OpenMalaria [source code](https://github.com/SwissTPH/openmalaria) +- OpenMalaria [source code](https://github.com/OpenMalaria-Org/openmalaria) ## Documentation Mapping | | EMOD | malariasimulation | OpenMalaria | |---------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Malaria model | [model-overview](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/model-overview.html) | [Model](https://mrc-ide.github.io/malariasimulation/articles/Model.html) | [openmalaria/wiki](https://github.com/SwissTPH/openmalaria/wiki/ ) | -| Time &
setup | [parameter-conf.-setup](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-setup.html)
[software-serializing-pops](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-serializing-pops.html) | [run simulation](https://mrc-ide.github.io/malariasimulation/articles/Model.html#run-simulation)
[set equilibrium](https://mrc-ide.github.io/malariasimulation/articles/Model.html#set-equilibrium) | [modelTimeUpdates](https://github.com/SwissTPH/openmalaria/wiki/modelTimeUpdates) | -| Human demography
& population dynamics | [parameter-conf.-population](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-population/) | [Demography](https://mrc-ide.github.io/malariasimulation/articles/Demography.html) | [ModelDemography](https://github.com/SwissTPH/openmalaria/wiki/ModelDemography) | -| Vector model | [vector-model-overview](https://emod.idmod.org/emodpy-malaria/emod/vector-model-overview/)
[vector-model-transmission](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-transmission.html) | [Mosquito biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#mosquito-biology) | [ModelMosqPopDynamics](https://github.com/SwissTPH/openmalaria/wiki/ModelMosqPopDynamics)
[mosquito-lifecycle-and-behaviour](https://github.com/SwissTPH/openmalaria/wiki/XMLEntoVector#mosquito-lifecycle-and-behaviour) | -| Larval model | [vector-model
larval-habitat](https://emod.idmod.org/emodpy-malaria/emod/vector-model-larval-habitat/) | [Carrying capacity](https://mrc-ide.github.io/malariasimulation/articles/Carrying-capacity.html) | [ModelMosqPopDynamics](https://github.com/SwissTPH/openmalaria/wiki/ModelMosqPopDynamics) | -| Climate &
seasonality | [vector-model
climate-demographics](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-climate-demographics.html) | [seasonality](https://mrc-ide.github.io/malariasimulation/articles/Model.html#seasonality) | [ScenarioTransmission](https://github.com/SwissTPH/openmalaria/wiki/ScenarioTransmission) | -| Malaria
transmission | [malaria-model-overview](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-model-overview.html) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ScenarioTransmission](https://github.com/SwissTPH/openmalaria/wiki/ScenarioTransmission) | -| Within-host
dynamics | [malaria-model
infection-immunity](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-model-infection-immunity.html) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ModelWithinHost](https://github.com/SwissTPH/openmalaria/wiki/ModelWithinHost) | -| Disease
progression | [malaria-overview](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-overview.html) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ModelClinical](https://github.com/SwissTPH/openmalaria/wiki/ModelClinical) | -| Symptoms &
Diagnostics | [malaria-model
symptoms-diagnosis](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-model-symptoms-diagnosis.html) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [Diagnostics](https://github.com/SwissTPH/openmalaria/wiki/Diagnostics) | -| Health system &
case management | [malaria-model
antimalarial-drugs](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-model-antimalarial-drugs.html) | [Treatment](https://mrc-ide.github.io/malariasimulation/articles/Treatment.html) | [ScenarioHealthSystem](https://github.com/SwissTPH/openmalaria/wiki/ScenarioHealthSystem) | -| Interventions | [vector model scenarios](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-scenarios.html)
[malaria model scenarios](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-scenarios.html) | [Vignettes](https://mrc-ide.github.io/malariasimulation/articles/Model.html#vignettes) | [ModelInterventions](https://github.com/SwissTPH/openmalaria/wiki/ModelInterventions) | -| Stochastic Variation | [parameter-configuration-setup](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-setup.html) | [Stochastic_variation](https://mrc-ide.github.io/malariasimulation/articles/Variation.html) | | -| Parameter &
model uncertainty | [software-parameter-sweep](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/software-parameter-sweep.html) | [Parameter variation](https://mrc-ide.github.io/malariasimulation/articles/Parameter_variation.html) | [specification-of-model-variants](https://github.com/SwissTPH/openmalaria/wiki/ModelWithinHost#specification-of-model-variants) | +| Malaria model | [model-overview](https://emod.idmod.org/emodpy-malaria/emod/model-overview/.html) | [Model](https://mrc-ide.github.io/malariasimulation/articles/Model.html) | [openmalaria/wiki](https://github.com/OpenMalaria-Org/openmalaria/wiki/ ) | +| Time &
setup | [parameter-conf.-setup](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-setup/)
[software-serializing-pops](https://emod.idmod.org/emodpy-malaria/emod/software-serializing-pops/) | [run simulation](https://mrc-ide.github.io/malariasimulation/articles/Model.html#run-simulation)
[set equilibrium](https://mrc-ide.github.io/malariasimulation/articles/Model.html#set-equilibrium) | [modelTimeUpdates](https://github.com/OpenMalaria-Org/openmalaria/wiki/modelTimeUpdates) | +| Human demography
& population dynamics | [parameter-conf.-population](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-population/) | [Demography](https://mrc-ide.github.io/malariasimulation/articles/Demography.html) | [ModelDemography](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelDemography) | +| Vector model | [vector-model-overview](https://emod.idmod.org/emodpy-malaria/emod/vector-model-overview/)
[vector-model-transmission](https://emod.idmod.org/emodpy-malaria/emod/vector-model-transmission/) | [Mosquito biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#mosquito-biology) | [ModelMosqPopDynamics](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelMosqPopDynamics)
[mosquito-lifecycle-and-behaviour](https://github.com/OpenMalaria-Org/openmalaria/wiki/XMLEntoVector#mosquito-lifecycle-and-behaviour) | +| Larval model | [vector-model
larval-habitat](https://emod.idmod.org/emodpy-malaria/emod/vector-model-larval-habitat/) | [Carrying capacity](https://mrc-ide.github.io/malariasimulation/articles/Carrying-capacity.html) | [ModelMosqPopDynamics](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelMosqPopDynamics) | +| Climate &
seasonality | [vector-model
climate-demographics](https://emod.idmod.org/emodpy-malaria/emod/vector-model-climate-demographics/) | [seasonality](https://mrc-ide.github.io/malariasimulation/articles/Model.html#seasonality) | [ScenarioTransmission](https://github.com/OpenMalaria-Org/openmalaria/wiki/ScenarioTransmission) | +| Malaria
transmission | [malaria-model-overview](https://emod.idmod.org/emodpy-malaria/emod/malaria-model-overview/) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ScenarioTransmission](https://github.com/OpenMalaria-Org/openmalaria/wiki/ScenarioTransmission) | +| Within-host
dynamics | [malaria-model
infection-immunity](https://emod.idmod.org/emodpy-malaria/emod/malaria-model-infection-immunity/) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ModelWithinHost](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelWithinHost) | +| Disease
progression | [malaria-overview](https://emod.idmod.org/emodpy-malaria/emod/malaria-overview/) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [ModelClinical](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelClinical) | +| Symptoms &
Diagnostics | [malaria-model
symptoms-diagnosis](https://emod.idmod.org/emodpy-malaria/emod/malaria-model-symptoms-diagnosis/) | [Human biology](https://mrc-ide.github.io/malariasimulation/articles/Model.html#human-biology) | [Diagnostics](https://github.com/OpenMalaria-Org/openmalaria/wiki/Diagnostics) | +| Health system &
case management | [malaria-model
antimalarial-drugs](https://emod.idmod.org/emodpy-malaria/emod/malaria-model-antimalarial-drugs/) | [Treatment](https://mrc-ide.github.io/malariasimulation/articles/Treatment.html) | [ScenarioHealthSystem](https://github.com/OpenMalaria-Org/openmalaria/wiki/ScenarioHealthSystem) | +| Interventions | [vector model scenarios](https://emod.idmod.org/emodpy-malaria/emod/vector-scenarios/)
[malaria model scenarios](https://emod.idmod.org/emodpy-malaria/emod/malaria-scenarios/) | [Vignettes](https://mrc-ide.github.io/malariasimulation/articles/Model.html#vignettes) | [ModelInterventions](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelInterventions) | +| Stochastic Variation | [parameter-configuration-setup](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-setup/) | [Stochastic_variation](https://mrc-ide.github.io/malariasimulation/articles/Variation.html) | | +| Parameter &
model uncertainty | [software-parameter-sweep](https://docs.idmod.org/idmtools/user-guide/creating-simulations/) | [Parameter variation](https://mrc-ide.github.io/malariasimulation/articles/Parameter_variation.html) | [specification-of-model-variants](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelWithinHost#specification-of-model-variants) | diff --git a/docs/malaria_models/input_output.md b/docs/malaria_models/input_output.md index cae94af0..e3a78535 100644 --- a/docs/malaria_models/input_output.md +++ b/docs/malaria_models/input_output.md @@ -42,7 +42,7 @@ malariasimulation comes with an R packages that includes all the necessary objec ### OpenMalaria -In OpenMalaria, each simulation scenario is defined by a single XML input file (more details on the OpenMalaria wiki [here](https://github.com/SwissTPH/openmalaria/wiki/ScenarioDesign)). +In OpenMalaria, each simulation scenario is defined by a single XML input file (more details on the OpenMalaria wiki [here](https://github.com/OpenMalaria-Org/openmalaria/wiki/ScenarioDesign)). **Implementation in MultiMalModPy** @@ -77,7 +77,7 @@ By default, InsetChart.json is always created. Key output files used in MultiMalModPy and examples -- [InsetChart.json](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-configuration-output.html) +- [InsetChart.json](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-output/) - [MalariaSummary report](https://emod.idmod.org/emodpy-malaria/emod/software-report-malaria-summary/) **Implementation in MultiMalModPy** @@ -179,7 +179,7 @@ This example file shows output for 1 scenario, for 12 values for 1 year, for 8 a ### OpenMalaria -OpenMalaria simulations generate two types of output **survey-based** and **continuous monitoring** (details [here](https://github.com/SwissTPH/openmalaria/wiki/MonitoringOutput)). +OpenMalaria simulations generate two types of output **survey-based** and **continuous monitoring** (details [here](https://github.com/OpenMalaria-Org/openmalaria/wiki/MonitoringOutput)). **Implementation in MultiMalModPy:** diff --git a/docs/malaria_models/interventions.md b/docs/malaria_models/interventions.md index 7ec48991..a836c82b 100644 --- a/docs/malaria_models/interventions.md +++ b/docs/malaria_models/interventions.md @@ -42,7 +42,7 @@ Details on their function and implementation can be found in the framework’s ### EMOD - Documentation main - page:[malaria-model-antimalarial-drugs](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/malaria-model-antimalarial-drugs.html) + page:[malaria-model-antimalarial-drugs](https://emod.idmod.org/emodpy-malaria/emod/malaria-model-antimalarial-drugs/) - Function: [treatment_seeking.py](https://github.com/EMOD-Hub/emodpy-malaria/blob/main/emodpy_malaria/interventions/treatment_seeking.py) - Related publications: [Gerardin et al 2015](https://bmcinfectdis.biomedcentral.com/articles/10.1186/s12879-015-0887-y) - Additional: [malaria_drug_params.csv](https://github.com/EMOD-Hub/emodpy-malaria/blob/main/emodpy_malaria/malaria_drug_params.csv) @@ -226,8 +226,8 @@ targets is a list of dictionaries defining the trigger event and coverage for an ### OpenMalaria - Documentation main page: - - [ScenarioHealthSystem](https://github.com/SwissTPH/openmalaria/wiki/ScenarioHealthSystem) - - [ScenarioPharmacology](https://github.com/SwissTPH/openmalaria/wiki/ScenarioPharmacology#antimalarial-drug-modelling) + - [ScenarioHealthSystem](https://github.com/OpenMalaria-Org/openmalaria/wiki/ScenarioHealthSystem) + - [ScenarioPharmacology](https://github.com/OpenMalaria-Org/openmalaria/wiki/ScenarioPharmacology#antimalarial-drug-modelling) - Function: [set_clinical_treatment](https://github.com/mrc-ide/malariasimulation/blob/master/R/drug_parameters.R#L49) - Related publications: [Galactionova et al (2015).](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0127818) diff --git a/docs/malaria_models/software.md b/docs/malaria_models/software.md index 5f629704..8b3ade35 100644 --- a/docs/malaria_models/software.md +++ b/docs/malaria_models/software.md @@ -17,8 +17,8 @@ Table: Overview of model software and infrastructure | | EMOD | malariasimulation | OpenMalaria | |-------------------|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------| -| Documentation | [idmod.org/tool/
emod-malaria](https://emod.idmod.org/emodpy-malaria/) | [mrc-ide.github.io/
malariasimulation](https://mrc-ide.github.io/malariasimulation/index.html) | [SwissTPH/
openmalaria/wiki](https://github.com/SwissTPH/openmalaria/wiki) | -| GitHub | [EMOD-Hub/
emodpy-malaria](https://github.com/EMOD-Hub/emodpy-malaria ) | [mrc-ide/
malariasimulation](https://github.com/mrc-ide/malariasimulation) | [SwissTPH/
openmalaria/ ](https://github.com/SwissTPH/openmalaria/ ) | +| Documentation | [idmod.org/tool/
emod-malaria](https://emod.idmod.org/emodpy-malaria/) | [mrc-ide.github.io/
malariasimulation](https://mrc-ide.github.io/malariasimulation/index.html) | [OpenMalaria-Org/
openmalaria/wiki](https://github.com/OpenMalaria-Org/openmalaria/wiki) | +| GitHub | [EMOD-Hub/
emodpy-malaria](https://github.com/EMOD-Hub/emodpy-malaria ) | [mrc-ide/
malariasimulation](https://github.com/mrc-ide/malariasimulation) | [OpenMalaria-Org/
openmalaria/ ](https://github.com/OpenMalaria-Org/openmalaria/ ) | | Accessibility | Open source | Open source | Open source | | Language | C++ | C++/R | C++ | | First published | 2013 | 2010 | 2006-2008 | @@ -29,5 +29,5 @@ Table: Overview of model software and infrastructure | Output file type | json | stored in
the R environment | txt | | N input files | 5+ | NA | 1 | | N output files | custom | NA | 2 | -| Glossary | [glossary](https://emod.idmod.org/emodpy-malaria/glossary/) | `help(malariasimulation)`
[articles/Model](https://mrc-ide.github.io/malariasimulation/articles/Model.html) | [Terminology](https://github.com/SwissTPH/openmalaria/wiki/Terminology) | +| Glossary | [glossary](https://emod.idmod.org/emodpy-malaria/glossary/) | `help(malariasimulation)`
[articles/Model](https://mrc-ide.github.io/malariasimulation/articles/Model.html) | [Terminology](https://github.com/OpenMalaria-Org/openmalaria/wiki/Terminology) | diff --git a/docs/malaria_models/structure.md b/docs/malaria_models/structure.md index 9637bded..f4878607 100644 --- a/docs/malaria_models/structure.md +++ b/docs/malaria_models/structure.md @@ -14,7 +14,7 @@ The malaria model structure for EMOD is detailed in the [malaria-model-overview] **malariasimulation**: The model structure for malariasimulation is outlined in the [model structure](https://mrc-ide.github.io/malariasimulation/articles/Model.html) and related publications. -**OpenMalaria**: The model structure for OpenMalaria can be found in the [openmalaria/wiki](https://github.com/SwissTPH/openmalaria/wiki) and related publications. +**OpenMalaria**: The model structure for OpenMalaria can be found in the [openmalaria/wiki](https://github.com/OpenMalaria-Org/openmalaria/wiki) and related publications. ## Model components configured in MultiMalModPy @@ -40,15 +40,15 @@ The malaria model structure for EMOD is detailed in the [malaria-model-overview] - **EMOD**: [Population dynamics](https://emod.idmod.org/emodpy-malaria/emod/parameter-configuration-population/) - **malariasimulation**: [ModelDemography]() -- **OpenMalaria**: [Demography](https://github.com/SwissTPH/openmalaria/wiki/ModelDemography) +- **OpenMalaria**: [Demography](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelDemography) ### Transmission dynamics **EMOD** -- 'dynamic' transmission, using [Larval Habitat](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-larval-habitat.html) and [climate](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/vector-model-climate-demographics.html) as inputs. -- 'forced' transmission, using [InputEIR](https://docs.idmod.org/projects/emodpy-malaria/en/latest/emod/parameter-campaign-node-inputeir.html). +- 'dynamic' transmission, using [Larval Habitat](https://emod.idmod.org/emodpy-malaria/emod/vector-model-larval-habitat/) and [climate](https://emod.idmod.org/emodpy-malaria/emod/vector-model-climate-demographics/) as inputs. +- 'forced' transmission, using [InputEIR](https://emod.idmod.org/emodpy-malaria/emod/parameter-campaign-node-inputeir/). **malariasimulation** @@ -56,6 +56,6 @@ The malaria model structure for EMOD is detailed in the [malaria-model-overview] **OpenMalaria** -- 'dynamic' transmission, using EIR as input [ModelTransmission](https://github.com/SwissTPH/openmalaria/wiki/ModelTransmission). -- 'forced' transmission, using EIR as input [ModelTransmission](https://github.com/SwissTPH/openmalaria/wiki/ModelTransmission). +- 'dynamic' and 'forced' transmission [ModelTransmission](https://github.com/OpenMalaria-Org/openmalaria/wiki/ModelTransmission). + From 61c3ce0d396aa206d8ee2926d397ded89417e4b5 Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Sat, 10 Oct 2026 14:57:13 +0200 Subject: [PATCH 09/10] docs: updated releases and software pages --- docs/developer/create_new_release.md | 46 ++++++++++++++++------------ docs/malaria_models/software.md | 4 +-- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/docs/developer/create_new_release.md b/docs/developer/create_new_release.md index e44a7078..5bde91b5 100644 --- a/docs/developer/create_new_release.md +++ b/docs/developer/create_new_release.md @@ -50,32 +50,38 @@ A stable release should include: - Documentation updates reflecting the changes - Passing unit and integration tests -### Release workflow: +### Release workflow -Releases are made manually and not yet compiled and tested automatically by the Continuous Integration system and uploaded to the Github Releases page. +Releases are currently made manually and are not yet automatically built, tested, or uploaded to the GitHub Releases page by the Continuous Integration (CI) system. -1. **Tag the version in Git:** - ```bash - git tag v1.12.0 - git push origin v1.12.0 +1. **Tag the version in Git:** -2. **Update version references:** - - In `docs/about/changelog.md` - - Push documentation `mkdocs gh-deploy` +``` +git tag v1.12.0 +git push origin v1.12.0 +``` -3. Create a GitHub Release: - - Add a summary of changes - - Attach release assets +2. **Update version references:** + - Update `docs/about/changelog.md`. + - Deploy the documentation: -## Tests -Testing is under active development and will be organized into: -- Unit Tests: For low-level logic (e.g., parameter calculation, configuration validation) -- Integration Tests: For full simulation workflows, platform integration, and CLI usage +``` +mkdocs gh-deploy +``` +3. **Create a GitHub Release:** -## Future Plans + - Add a summary of changes. + - Attach release assets. -- Automate version tagging, release creation, changelog creation, and tests, with GitHub Actions - - \ No newline at end of file +## Tests + +Testing is under active development and will be organized into: + +- **Unit tests:** For low-level logic, such as parameter calculations and configuration validation. +- **Integration tests:** For full simulation workflows, platform integration, and CLI usage. + +## Future plans + +Automate version tagging, release creation, changelog generation, and testing using GitHub Actions. \ No newline at end of file diff --git a/docs/malaria_models/software.md b/docs/malaria_models/software.md index 8b3ade35..256df58e 100644 --- a/docs/malaria_models/software.md +++ b/docs/malaria_models/software.md @@ -1,8 +1,8 @@ # Software - **EMOD** (Epidemiological MODeling software) has been developed and is maintained by - the [Institute for Disease Modeling (IDM)](https://www.idmod.org/), and also used by - the [Malaria Modeling Group at Northwestern University](https://www.numalariamodeling.org/). + the [Institute for Disease Modeling (IDM)](https://www.idmod.org/), and EMOD Malaria is used by [AHADI](https://www.appliedhealthanalytics.org/), + by the Malaria Modeling Group at Northwestern University (2019-2025), and other groups of the [Faculty Enrichment Program](https://mesamalaria.org/resource-hub/faculty-enrichment-program-in-applied-malaria-modeling-using-emod/). - **OpenMalaria** has been developed and is maintained by the [Global Disease Modelling team](https://www.thekids.org.au/our-research/early-environment/infection-and-vaccines/global-disease-modelling/) From 39474e7f3fa5756419362c4f0e5e865e035c6180 Mon Sep 17 00:00:00 2001 From: ManuelaRunge Date: Sat, 10 Oct 2026 16:13:43 +0200 Subject: [PATCH 10/10] docs: removed affiliations from developers and contributors, updated citations with zenodo doi --- docs/about/citation.md | 76 +++++++++++++++++++++++++++++++------- docs/about/contributors.md | 30 +++++++-------- 2 files changed, 78 insertions(+), 28 deletions(-) diff --git a/docs/about/citation.md b/docs/about/citation.md index 9b2b8b34..11892e51 100644 --- a/docs/about/citation.md +++ b/docs/about/citation.md @@ -1,13 +1,63 @@ -# Citation -Release in prep. - -### Scientific publications -in prep. - -### Conference presentations -- **Comparative Analysis of Individual-Based Malaria Models: Characterizing model behavior for enhanced confidence in model-informed decision making** -     _Poster at ASTMH annual meeting. 2024_ -- **MultiMalModPy - A novel programmatic framework for running three individual-based malaria transmission models** -     _IDM symposium, EMOD user group side meeting. 2024._ -- **Programmatic Framework For Running Three Individual-Based Malaria Models: EMOD, OpenMalaria, and malariasimulation.** -     _Poster at AMMnet annual meeting. 2023_ + +# Citation + +## Citing MultiMalModPy + +If you use MultiMalModPy in your research, please cite: + +1. **Software:** MultiMalModPy, including the version used. +2. **Framework publication:** The accompanying manuscript describing the software architecture and implementation. + +### Software citation + +**MultiMalModPy: Multi-Malaria-Modeling Python Framework** + +#### Suggested citation + +Richter R., Cavelan A., Brewer T, Shattock A., Nekkab N., Winskill P., Penny M., Gerardin J., Runge M. (2026). *MultiMalModPy: Multi-Malaria-Modeling Python Framework* (Version 1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23282932 + +#### BibTeX + +```bibtex +@misc{multimalmodpy2026, + author = {Richter R., Cavelan A., Brewer T, Shattock A., Nekkab N., Winskill P., Penny M., Gerardin J., Runge M.}, + title = {MultiMalModPy: Multi-Malaria-Modeling + Python Framework}, + year = {2026}, + version = {1.0.0}, + publisher = {Zenodo}, + doi = {10.5281/zenodo.23282932}, + url = {https://doi.org/10.5281/zenodo.23282932}, + note = {Computer software} +} +``` + +#### Software availability + +- **Zenodo:** [10.5281/zenodo.23282932](https://doi.org/10.5281/zenodo.23282932) +- **GitHub:** [MultiMalModPy repository](https://github.com/ahadi-analytics/MultiMalModPy) +- **Documentation:** [MultiMalModPy Documentation](https://ahadi-analytics.github.io/MultiMalModPy/) + +The Zenodo record provides an archived software release. The latest version, including updates and bug fixes, is available from the [GitHub repository](https://github.com/ahadi-analytics/MultiMalModPy/releases). +When citing MultiMalModPy, please specify the version used to support reproducibility. + +## Scientific publications + +The following manuscripts are in preparation: + +1. **MultiMalModPy: A novel software framework for running three individual-based malaria transmission models.** + *Manuscript in preparation.* + +2. **Harmonization and comparison of baseline behavior of three individual-based malaria models.** + *Manuscript in preparation.* + +## Conference presentations + +- **Comparative Analysis of Individual-Based Malaria Models: Characterizing Model Behavior for Enhanced Confidence in Model-Informed Decision Making** + *Poster presentation, American Society of Tropical Medicine and Hygiene (ASTMH) Annual Meeting, 2024.* + +- **MultiMalModPy: A Novel Programmatic Framework for Running Three Individual-Based Malaria Transmission Models** + *Institute for Disease Modeling (IDM) Symposium, EMOD User Group Side Meeting, 2024.* + +- **Programmatic Framework for Running Three Individual-Based Malaria Models: EMOD, OpenMalaria, and malariasimulation** + *Poster presentation, Applied Malaria Modeling Network (AMMnet) Annual Meeting, 2023.* diff --git a/docs/about/contributors.md b/docs/about/contributors.md index 9f9af285..612b8081 100644 --- a/docs/about/contributors.md +++ b/docs/about/contributors.md @@ -25,24 +25,24 @@ For developers, how to update the online documentation is described in the [./do ## Developers -- **Tom Brewer** — *Imperial College London, UK* -- **Aurelien Cavelan** — *University of Basel, Switzerland* -- **Jaline Gerardin** — *Northwestern University & AHADI, Chicago, USA* -- **Melissa Penny** — *University of Western Australia & Kids Research Institute, Australia* -- **Ricky Richter** — *Northwestern University, Chicago, USA* -- **Manuela Runge** — *Northwestern University, Chicago, USA* -- **Peter Winskill** — *Imperial College London, UK* +- **Tom Brewer** +- **Aurelien Cavelan** +- **Jaline Gerardin** +- **Melissa Penny** +- **Ricky Richter** +- **Manuela Runge** +- **Peter Winskill** ## Contributors -- **Caitlin Bever** — *Institute for Disease Modeling, USA* -- **Scott Coughlin** — *Northwestern University, USA* -- **Matthew Gorby** — *Northwestern University, USA* -- **Tobias Holden** — *Northwestern University, USA* -- **Josephine Malinga** — *Swiss TPH, Switzerland* -- **Narimane Nekkab** — *Swiss TPH, Switzerland* -- **Andrew Shattock** — *University of Western Australia & Kids Research Institute, Australia* -- **Sophie van Genderen** — *Northwestern University, USA* +- **Caitlin Bever** +- **Scott Coughlin** +- **Matthew Gorby** +- **Tobias Holden** +- **Josephine Malinga** +- **Narimane Nekkab** +- **Andrew Shattock** +- **Sophie van Genderen**