Running the model
Clone the repository:
git clone https://github.com/matthiaskoenig/enalapril-model.git
cd enalapril-model
uv
Run the complete analysis with uv:
uv sync
uv run run_simulation pkdb_models.models.enalapril --action all -r results
The simulations with the confidence interval of the adopted fits:
uv run run_simulation pkdb_models.models.enalapril --action all --uncertainty -r results
The reports of the adopted fits are recreated from their records, one folder per fit in results/fit_reports:
uv run run_report pkdb_models.models.enalapril --adopted -o results/fit_reports
pip
If you use pip install the package via
and run the complete analysis in the environment via:
run_simulation pkdb_models.models.enalapril --action all -r results
docker
Simulations can also be run within a docker container:
docker run -v "${PWD}/results:/results" -it matthiaskoenig/enalapril:latest /bin/bash
Run the complete analysis:
uv run run_simulation pkdb_models.models.enalapril --action all -r /results
The results are written into the mounted /results folder on the host.
In case of permission issues with the mounted folder, adjust ownership and access rights with:
sudo chown $(id -u):$(id -g) -R "${PWD}/results"
sudo chmod 775 "${PWD}/results"