Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow relative file locations #97

Open
mnblonsky opened this issue Dec 29, 2023 · 0 comments
Open

Allow relative file locations #97

mnblonsky opened this issue Dec 29, 2023 · 0 comments
Assignees

Comments

@mnblonsky
Copy link
Collaborator

When file paths are not absolute, we currently look for the file in the OCHRE/defaults folder, which isn't always useful. It's probably best to assume the user specifies a relative location from their cwd. A few things to change here:

  • Don't add default_input_path to HPXML, schedule, and maybe weather files
  • For other files, check if relative files exist before adding default_input_path. If file not found, use relative file in the error
  • Remove input_path parameter to Dwelling (maybe Simulator too)
@mnblonsky mnblonsky self-assigned this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant