Skip to content

Commit c011e32

Browse files
authored
match formatting in 06-params.md and link back
1 parent 8b3b63d commit c011e32

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

_episodes/13-expressions.md

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -86,30 +86,33 @@ Note that requirements must be provided as an array, with each entry (in this
8686
case, only `class: InlineJavascriptRequirement`) marked by a `-`. The same
8787
syntax is used to describe the additional command line arguments.
8888

89-
You can only use expressions in certain fields. These are:
90-
91-
- [`arguments`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
92-
- [`coresMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
93-
- [`coresMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
94-
- [`entry`](http://www.commonwl.org/v1.0/CommandLineTool.html#Dirent)
95-
- [`entryname`](http://www.commonwl.org/v1.0/CommandLineTool.html#Dirent)
96-
- `format` (in a [CommandInputParameter](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandInputParameter), [CommandOutputParamater](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputParameter), [WorkflowOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#WorkflowOutputParameter), or [ExpressionToolOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#ExpressionToolOutputParameter))
97-
- [`expression`](http://www.commonwl.org/v1.0/Workflow.html#ExpressionTool)
98-
- [`envValue`](http://www.commonwl.org/v1.0/CommandLineTool.html#EnvironmentDef)
99-
- [`glob`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputBinding)
100-
- [`listing`](http://www.commonwl.org/v1.0/CommandLineTool.html#InitialWorkDirRequirement)
101-
- [`outdirMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
102-
- [`outdirMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
103-
- [`outputEval`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputBinding)
104-
- `secondaryFiles` (in a [CommandInputParameter](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandInputParameter), [CommandOutputParamater](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputParameter), [WorkflowOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#WorkflowOutputParameter), or [ExpressionToolOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#ExpressionToolOutputParameter))
105-
- [`ramMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
106-
- [`ramMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
107-
- [`stdin`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
108-
- [`stdout`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
109-
- [`stderr`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
110-
- [`tmpdirMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
111-
- [`tmpdirMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
112-
- `valueFrom` (in a [CommandLineBinding](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineBinding), or [WorkflowStepInput](http://www.commonwl.org/v1.0/Workflow.html#WorkflowStepInput))
89+
> ## Where are parameter references allowed?
90+
> Just like [parameter references]({{ page.root }}{% link _episodes/06-params.md %}), you can use JavaScript Expressions
91+
> only in certain fields. These are:
92+
>
93+
> - [`arguments`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
94+
> - [`coresMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
95+
> - [`coresMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
96+
> - [`entry`](http://www.commonwl.org/v1.0/CommandLineTool.html#Dirent)
97+
> - [`entryname`](http://www.commonwl.org/v1.0/CommandLineTool.html#Dirent)
98+
> - `format` (in a [CommandInputParameter](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandInputParameter), [CommandOutputParamater](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputParameter), [WorkflowOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#WorkflowOutputParameter), or [ExpressionToolOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#ExpressionToolOutputParameter))
99+
> - [`expression`](http://www.commonwl.org/v1.0/Workflow.html#ExpressionTool)
100+
> - [`envValue`](http://www.commonwl.org/v1.0/CommandLineTool.html#EnvironmentDef)
101+
> - [`glob`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputBinding)
102+
> - [`listing`](http://www.commonwl.org/v1.0/CommandLineTool.html#InitialWorkDirRequirement)
103+
> - [`outdirMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
104+
> - [`outdirMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
105+
> - [`outputEval`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputBinding)
106+
> - `secondaryFiles` (in a [CommandInputParameter](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandInputParameter), [CommandOutputParamater](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandOutputParameter), [WorkflowOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#WorkflowOutputParameter), or [ExpressionToolOutputParameter](http://www.commonwl.org/v1.0/Workflow.html#ExpressionToolOutputParameter))
107+
> - [`ramMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
108+
> - [`ramMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
109+
> - [`stdin`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
110+
> - [`stdout`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
111+
> - [`stderr`](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool)
112+
> - [`tmpdirMin`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
113+
> - [`tmpdirMax`](http://www.commonwl.org/v1.0/CommandLineTool.html#ResourceRequirement)
114+
> - `valueFrom` (in a [CommandLineBinding](http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineBinding), or [WorkflowStepInput](http://www.commonwl.org/v1.0/Workflow.html#WorkflowStepInput))
115+
{: .callout }
113116

114117

115118
[file-prop]: http://www.commonwl.org/v1.0/CommandLineTool.html#File

0 commit comments

Comments
 (0)