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

geojson_file in urban_geometry_creation doesn't use workflow.runner.findFile #44

Open
DavidGoldwasser opened this issue Dec 27, 2019 · 0 comments

Comments

@DavidGoldwasser
Copy link
Collaborator

When a measure requires a file, starting in OpenStudio 2.0 we have the ability to just use a file name as the argument, and rely on the "file_paths" described in the OSW.

This is used on ChangeBuildingLocation, shown below.
https://github.com/NREL/openstudio-common-measures-gem/blob/develop/lib/measures/ChangeBuildingLocation/measure.rb#L138-L145

This allows you to enter the file name only, a relative path, or a full path. This is very helpful in making OSW's transportable without having to alter arguments.

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