ukaea / PROCESS

PROCESS is a systems code at UKAEA that calculates in a self-consistent manner the parameters of a fusion power plant with a specified performance, ensuring that its operating limits are not violated, and with the option to optimise to a given function of these parameters.
https://ukaea.github.io/PROCESS/
MIT License
26 stars 11 forks source link

[BUG] plot_proc tests are failing #3190

Closed clmould closed 1 month ago

clmould commented 1 month ago

Describe the bug

The plot_proc tests are failing. This is because there are args being parsed within individual plotting functions. Will fix this by changing plot_proc so the args are only parsed in the main function, and then are passed into the other plotting functions from here.

Evidence

On the CI for #3091: image Running pytest tests/integration -k plot_proc on main: image