This repository is the data science repository for the Virtual Ecosystem project. It is used to store all the research and analysis being used to parameterise and run the Virtual Ecosystem model.
The first step is to clone the repository
git clone https://github.com/ImperialCollegeLondon/ve_data_science.git
That gives you a complete copy of all of the current files across all branches and all of the changes ever made to those files.
However, we use a number of quality assurance tools (QA) to help manage the code files and documents within this repository. You also need to do the following to get this set up working:
-
Install python
-
Install
poetry
:pip install poetry
-
Run
poetry install
-
Set the interpreter path
- Run
poetry env list --full-path
, copy the result and add/bin/python
to the end. For example:/Users/dorme/Library/Caches/pypoetry/virtualenvs/ve-data-science-ND1juKN--py3.12/bin/python
- In the menus, select View > Command Palette and then enter
interpreter
in the box to find thePython: Select Interpreter
command. Click onEnter interpreter path
and paste in the path from above.
- Run
-
Run
poetry run pre-commit install
-
Whenever you are working in the repo, use
poetry shell
to start up the environment first.