ImperialCollegeLondon / pyrealm

Development of the pyrealm package, providing an integrated toolbox for modelling plant productivity, growth and demography using Python.
https://pyrealm.readthedocs.io/
MIT License
23 stars 9 forks source link

Call graph is not generated in CI given the cmd option `--profile-svg` even though `graphviz` is installed. #152

Closed tztsai closed 10 months ago

tztsai commented 11 months ago

Describe the bug

image
surbhigoel77 commented 11 months ago

graphviz only helps to render the generated xml/ svg file to a graph. If the file is not generated, it could be something else.

tztsai commented 11 months ago

I've found that the issue is because poetry only installed the python package of graphviz. In order to generate the SVG file, we must run sudo apt-get install graphviz as well (for ubuntu). I have added this line in the CI file in my PR #149.