Skip to content

Implicit lazy-field operation tasks #724

Open
@tclose

Description

@tclose

What would you like changed/added and why?

When connecting a lazy-out field to a downstream node, there are often minor operations to be applied to the field value, e.g. output_prefix = wf.lzin.subject_name + "_" or json_file=wf.lzin.input_niftix.json_file (see #723). When learning how to write Pydra workflows, users often intuitively expect that such operations should work and instead of needing to create custom function task.

I would like Pydra in such cases to automatically create a function task to perform the operation and insert it into the workflow transparently to the user.

What would be the benefit? Does the change make something easier to use?

The changes would be more

  • intuitive for new users
  • convenient to write
  • readable

Metadata

Metadata

Assignees

Labels

featureFeature requests

Type

No type

Projects

Status

v1.0

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions