-
Notifications
You must be signed in to change notification settings - Fork 55
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
Assign auto instead of 0 to mean unused #1312
Conversation
"We'll leave 0 when: the argument is required" That's a big gap that will still result in situations where the input is confusing or misleading. In these cases, couldn't we automatically remap "auto" to a valid value here? Or maybe we should reconsider whether some of the BuildResHPXML arguments should be required. |
For example, for options with I suppose it's up to you whether we want to change, e.g., |
Yep, exactly. Maybe it would make sense to use 99999 just to ensure that the value isn't being accidentally used, as that would surely cause something to blow up. I don't know if that's a good idea or not.
I think I'm okay with doing this. Or at least trying. I'm not sure what the disadvantages are exactly. But it must be confusing to users to have to provide a |
…n set none in the lookup.
Superseded by #1316. |
Pull Request Description
It's confusing to assign 0 to an argument to mean unused. So we'll:
Related Pull Requests
[related PRs from different repositories]
Related Issues
Closes #1289.
Closes #1293.
Checklist
Required:
Optional (not all items may apply):
openstudio tasks.rb update_measures
has been run