Skip to content

docs on what can be used for path(stageName) #6051

Open
@nick-youngblut

Description

@nick-youngblut

The inputs docs state:

name
Specify how the file should be named in the task work directory. Can be a name or a pattern.

It is not clear whether a val can be use to customize the name. For example:

input:
  tuple val(id), path(file, stageAs: "${id}_*")

This staging pattern would be very powerful, but it appears that the code does not work (at least I cannot get it working).

So, it would be helpful to state whether such such code is possible.

While one could argue that this "clutters" the docs, another could argue that docs are read more and more by LLMs and less by humans, so including more detail is not much of a problem for LLMs.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions