Closed Ikegwuugo closed 1 year ago
@Ikegwuugo, thanks for submitting this issue! The IndexError: invalid index kind
was actually resolved previously (in a recent thermosteam commit). There was also another bug with BioSTEAM using the deprecated method save
in panda's xlsx writer. I just corrected this.
You should be able to save the system report if use the latest biosteam and thermosteam versions on github. Note that if you are pip installing using a github link, make sure you first delete (or pip uninstall) your old biosteam/thermosteam first since pip will not attempt to reinstall.
Thanks, Let me know if you have any question!
@yoelcortes Thanks for your response. I deleted pip uninstalled BioSTEAM and reinstalled it. The versions of BioSTEAM and thermosteam now are 2.37.4 and 0.35.1 respectively. The IndexError: invalid index kind issue is still coming up after restarting my VScode.
@Ikegwuugo, I think you might be confused with the PyPI and github versions. These are different. You can run the following to install the github versions without having to clone them:
pip uninstall thermosteam pip install git+https://github.com/BioSTEAMDevelopmentGroup/thermosteam.git
pip uninstall biosteam pip install git+https://github.com/BioSTEAMDevelopmentGroup/biosteam.git
Thanks,
@yoelcortes Thanks! it works now!
Describe the bug Unable to save report to excel file
To Reproduce
Expected behavior When the save_report line is commented, the code works well. The save_report is meant to see the report from the simulation in an excel file.
Actual behavior
Version
Additional context This script might work properly for you because it works well on my colleague's computer but with a different version of biosteam (2.32.18) and thermosteam (0.28.13).