-
Notifications
You must be signed in to change notification settings - Fork 32
Update ECM Fields #529
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
base: master
Are you sure you want to change the base?
Update ECM Fields #529
Conversation
Is it not possible to provide a dict as the val in the key:val pair for the argument? Suggest we explicitly note in the explanation that goes into the docs if users should not provide nested values. |
I'm not sure if this is the best idea, because ultimately the set of ECMs we include under Another option that would engage this new capability is to leave the ECM folder |
Update fields across all ECMs | ||
***************************** | ||
|
||
``--ecm_field_updates`` updates fields of all ECMs selected for preparation or included in packges to be prepared. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check spelling ("packges")
"(C) Bst. HP FS (RTU, NG Ht.) & Env.+" | ||
] | ||
ecm_field_updates: | ||
climate_zone: ["CA", "CO", "MN", "MI", "NY", "MA", "TN", "FL", "TX"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can there be any number of these listed line-by-line? Would be helpful to clarify in the description of this attribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, will update
Yes, you could provide a dict to cover nested fields, just can't nest keys in the yml. |
I think the subset of ECMs for testing is covered by the |
New
ecm_prep.py
argument,ecm_field_updates
that can generically update any number of ECM fields. Details of the PR include: