openergy / opyplus

A package to work with EnergyPlus in python
Mozilla Public License 2.0
38 stars 13 forks source link

Make simulation run with blank space in file path #57

Closed thomascerbelaud closed 2 years ago

thomascerbelaud commented 2 years ago

Fixes #55 by using relative path for the idf file. @geoffroy-destaintot I wrote a small test to check everything was okay, but not sure if there was a good reason for the epw file to use relative path in the command line while the idf was referenced using absolute path. Another way tha fixes the issue is to keep the absolute path but escaping blank spaces using .replace(" ", "\ ").