-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
First ensure that pip is current:
python -m pip install --upgrade pipThen retry:
pip install phylogeoplotUsing a supported Python version and a clean virtual environment is recommended.
python -m pip show phylogeoplot
python -c "import phylogeoplot"If VS Code is being used, make sure the selected Python interpreter corresponds to the environment where the package is installed.
Relative paths are interpreted from the current working directory.
For example:
gps_file="coordinates.csv"expects coordinates.csv to be available relative to the directory from which Python is executed.
Tree-tip identifiers must correspond to identifiers in the geographic occurrence data.
See Preprocessing.
Occurrence records lacking valid geographic coordinates cannot be mapped.
Verify that latitude and longitude fields contain valid numeric values.
Check:
- raster coordinate reference system;
- occurrence coordinate system;
- geographic extent;
- longitude and latitude order;
- selected raster band.
Verify that:
- the GeoTIFF opens correctly in another GIS application;
- the intended raster band is selected;
- the raster contains data within the selected map extent;
- NoData values are handled appropriately.
Dense trees and long taxon names may create visual overlap.
Offset files can be used to adjust positioning.
Automated tests should use a non-interactive Matplotlib backend such as Agg.
Ensure that the requested output path exists or can be created and that the current user has write permission.
When reporting an issue, include:
- operating system;
- Python version;
- PhyloGeoPlot version;
- complete error message;
- minimal input example when possible;
- command or Python code that produced the error.
Please email us at: Nadia.Tahiri@USherbrooke.ca for any questions or feedback.