-
Notifications
You must be signed in to change notification settings - Fork 0
Testing and Development
Caroline Fortier edited this page Sep 6, 2026
·
1 revision
git clone https://github.com/tahiri-lab/PhyloGeoPlot.git
cd PhyloGeoPlot
pip install -e ".[dev]"Development dependencies currently include:
- pytest;
- Jupyter.
python -m pytest -vThe tests cover major preprocessing and visualization functionality, including:
- metadata integration;
- GBIF formatting;
- phylogenetic tree construction;
- visualization initialization;
- trait color mapping;
- raster configuration;
- plotting;
- figure export.
Automated tests use a non-interactive Matplotlib backend so plotting functionality can be tested without opening graphical windows.
phylogeoplot/
├── preprocessing/
│ ├── add_metadata.py
│ ├── build_phylogenetic_tree.py
│ ├── format_gbif_data.py
│ └── prepare_data.py
│
└── visualisation/
└── tree_to_map_raster.py
Tests are located in:
tests/
python -m pip install build
python -m buildOutput is written to:
dist/
python -m pip install twine
python -m twine check dist/*pip install -e ".[dev]"Before submitting changes:
- run the test suite;
- verify that existing examples continue to work;
- document new parameters or workflows;
- keep generated output and local development files out of version control.
Please email us at: Nadia.Tahiri@USherbrooke.ca for any questions or feedback.