-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of FAQ for using workflow variables to rename outputs #5267
base: main
Are you sure you want to change the base?
Conversation
2. Click on **Inputs** in the toolbar on the left | ||
3. Click on **Simple inputs used for Workflow logic** | ||
4. Click on the created input box in the workflow editor | ||
5. Label your input. Example: `Species Name` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it would be useful to overwrite this example name from within tutorials.
Co-authored-by: Björn Grüning <[email protected]>
|
||
Workflow text inputs can be used as parameters for tools but also in the workflow editor for renaming files. | ||
|
||
{% if include.var_name %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of this big if/else case, you can also just do {{ include.var_name | default: "Species Name" }}
to default to a value if no include variable provided
The FAQ describes :