You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The args hash looks different when replacing OsLib_HelperMethods.createRunVariables with runner.getArgumentValues.
Current Behavior
When calling args = runner.getArgumentValues(arguments(model), user_arguments), a nil is returned for any keys that are in arguments(model) but not in user_arguments.
Expected Behavior
If the script argument has a default value set, then args should at least return the default value for that key. (?)
Steps to Reproduce
Run this measure test for add_rooftop_pv using v3.8.0-rc1, replacing OsLib_HelperMethods.createRunVariables(...) with runner.getArgumentValues(...).
Issue overview
The
args
hash looks different when replacingOsLib_HelperMethods.createRunVariables
withrunner.getArgumentValues
.Current Behavior
When calling
args = runner.getArgumentValues(arguments(model), user_arguments)
, anil
is returned for any keys that are inarguments(model)
but not inuser_arguments
.Expected Behavior
If the script argument has a default value set, then
args
should at least return the default value for that key. (?)Steps to Reproduce
Run this measure test for
add_rooftop_pv
using v3.8.0-rc1, replacingOsLib_HelperMethods.createRunVariables(...)
withrunner.getArgumentValues(...)
.Possible Solution
Details
Related to #5135.
Environment
Some additional details about your environment for this issue (if relevant):
Context
The text was updated successfully, but these errors were encountered: