RFE: basic introspection would be nice, easy to add feature #96

Open
noblem opened this Issue Feb 22, 2017 · 0 comments

Comments

Projects
None yet
1 participant

noblem commented Feb 22, 2017 edited

It is useful to have files created by tasks/workflows reflect the name of the thing that created them, like

task Foo {
     command {
             echo "blah blah blah" > Foo_output.txt
              ...
     }
     ...
}

But right now this name has to be hardcoded into the WDL. It would be cleaner and more robust (e.g. to changes in the workflow or task name) if it could instead be referenced by introspection, such as ${__name__} or something. Rather than duplicating the task name as a hardcode in multiple places within the various sections of the WDL body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment