Closed brynpickering closed 4 years ago
As we use this code in a few analyses and have the code profiled to a satisfactory speed, I would prefer to simply limit the pandas package version and leave the pandas update to a different time in case we use it for a new project. I hope this is not a problem on your end.
Yep, no issue with that!
Thank you! I plan to address issues you create over the weekend sometime, just so you can set expectations.
This was actually an issue with a deprecated label, that stayed in @hannesb0 models as I did some updates after he was done with his Master Thesis research. I've tested with the latest pandas
and numpy
and no edits were needed, so no need to limit versions for now!
In fact, I started using a more descriptive label instead:
'q_ovrcool_tank': 'Tank Overcool (Heat Rate)',
As computers do not really know the 2nd law of thermodynamics and I am willing to partially forgive it occasionally
, I use the above variable to perform the appropriate accounting and reporting.
Updated to python 3.8.
On a fresh install of MSWH, using the README instructions, The
mswh.system.tests.test_models.SystemTests.test_solar_electric
test fails with the following error trace:This requires either pinning pandas in your requirements to stay below version 1.0, or updating the code to handle >=v1.0. pandas v1.x has been out for a while now, so I would suggest pinning to >v1.x and updating code accordingly.
Note: this issue comes to you as part of my wider JOSS review