We welcome the usage of the modelling framework by all those interested and encourage them to work with us to develop it further.
When reporting a bug please include:
Your operating system name and version.
Any details about your local setup that might be helpful in troubleshooting.
Detailed steps to reproduce the bug.
To set up TLOmodel for local development:
Fork TLOmodel (look for the “Fork” button). If you have write access to this main repository, you can skip this step and clone it directly in step 2.
Clone your fork locally:
git clone email@example.com:your_name_here/TLOmodel.git
Create a branch for local development:
git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
When you’re done making changes, run all the checks, doc builder and spell checker with tox one command:
Commit your changes and push your branch to GitHub:
git add . git commit # Write a description of your changes in the editor and save git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitHub website.
Pull Request Guidelines¶
If you need some code review or feedback while you’re developing the code just make the pull request.
For merging, you should:
Include passing tests (run
Update documentation when there’s new API, functionality etc.
Add yourself to
To run a subset of tests:
tox -e py36 -- pytest -k test_myfeature
To run all the test environments in parallel (you need to
pip install detox):