wdl-analysis 0.22.0

Analysis of Workflow Description Language (WDL) documents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## Test that task variable has correct members in hints section.

version 1.3

task test_hints_scope {
    command <<<
        echo "test"
    >>>

    hints {
        # Pre-evaluation fields are available.
        localization_optional: task.attempt > 3
        maxRetries: if task.name == "test" then 5 else 3
        shortTask: task.id != "" && task.previous.cpu != None
    }
}