ibpsa / project1-boptest

Building Optimization Performance Tests
Other
105 stars 69 forks source link

Update htmlIO python script #487

Closed EttoreZ closed 1 year ago

EttoreZ commented 1 year ago

This issue is to update the API calls in the script get_html_IO.py. The script is currently not running because the calls are written as: ... inputs = requests.get('{0}/inputs'.format(url)).json() ... measurements = requests.get('{0}/measurements'.format(url)).json() And so the ['payload'] key selection is missing. The proposed modified code is: ... inputs = requests.get('{0}/inputs'.format(url)).json()['payload'] ... measurements = requests.get('{0}/measurements'.format(url)).json()['payload']

The branch issue487_update_gethtmlIO on my fork is ready for a pull request

dhblum commented 1 year ago

Thanks @EttoreZ. Please make a PR to https://github.com/ibpsa/project1-boptest/tree/issue487_update_gethtmlIO.

dhblum commented 1 year ago

Closed by https://github.com/ibpsa/project1-boptest/pull/492.