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
What
Adds a new builtin for copying existing parameters to new keys int he inputs array
Why
Useful for renaming parameters, fixes pipelines that replicate the behaviour of e.g. sci-e where specific naming patterns were expected but not provided by earlier plugins. Alternative to the mapping feature that will come later.
Context
This is an easy way to fix pipeline errors where specific parameters are required, in advance of the mapping feature that will be implemented in the next sprint. It's worth having both options as the ability to copy parameters and optionally rename is generally useful for other purposes too.
Prerequisites/resources
none
SoW (scope of work)
add builtin for copy-param
documentation updated
test cases added
linked from if-docs
Acceptance criteria
Copy param copies a given parameter to a new key and optionally deletes the original from the inputs array.
GIVEN the builtin is available
WHEN I run if-run -m copy-yml
AND copy.yml contains
What
Adds a new
builtin
for copying existing parameters to new keys int he inputs arrayWhy
Useful for renaming parameters, fixes pipelines that replicate the behaviour of e.g.
sci-e
where specific naming patterns were expected but not provided by earlier plugins. Alternative to themapping
feature that will come later.Context
This is an easy way to fix pipeline errors where specific parameters are required, in advance of the
mapping
feature that will be implemented in the next sprint. It's worth having both options as the ability to copy parameters and optionally rename is generally useful for other purposes too.Prerequisites/resources
none
SoW (scope of work)
Acceptance criteria
inputs
array.GIVEN the builtin is available
WHEN I run
if-run -m copy-yml
AND
copy.yml
containsTHEN the output should be:
The text was updated successfully, but these errors were encountered: