ibpsa / project1-boptest

Building Optimization Performance Tests
Other
105 stars 69 forks source link

Issue475 fmu path #476

Closed EttoreZ closed 2 years ago

EttoreZ commented 2 years ago

This pull request is for issue #475. A slight modification was added with the respect to the original implementation. os.path.exists() will return True even is the testcase name is wrong and does not exists. This happens because the docker-compose command will create an empty directory instead. For this reason an additional check was added as os.path.isfile() to check that wrapped.fmu is an actual existing file

dhblum commented 2 years ago

Thank you @EttoreZ!