Skip to content

Commit 8c99d06

Browse files
committed
Update with suggestions.
1 parent 7a3e93d commit 8c99d06

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ version 1.2.1
2626

2727
* Include fixes to examples introduced in v1.1.3
2828

29-
* Include fixes to examples that don't comile in `wdl-tests`
29+
* Include fixes to examples that don't compile in `wdl-tests`
3030

31-
* Fix issues with examples (#707, #708, #701).
32-
33-
* Add in CI/CD for Miniwdl, Sprocket, Toil and Cromwell for spec compliance
31+
* Add in CI/CD for Miniwdl, Sprocket, Toil and Cromwell for spec compliance.
3432

3533
version 1.2.0
3634
---------------------------

SPEC.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2779,7 +2779,6 @@ Placeholders are evaluated in multi-line strings exactly the same as in regular
27792779
String company = "Acme"
27802780
27812781
output {
2782-
27832782
# This string evaluates to: " Hello Henry,\n Welcome to Acme!"
27842783
# The string still has spaces because the placeholders are evaluated after removing the
27852784
# common leading whitespace.
@@ -4346,7 +4345,7 @@ Example input:
43464345

43474346
```json
43484347
{
4349-
"str": "hello"
4348+
"bash_variables.str": "hello"
43504349
}
43514350
```
43524351

@@ -5842,7 +5841,7 @@ task test_runtime_info {
58425841
58435842
output {
58445843
Boolean at_least_two_gb = task.memory >= (2 * 1024 * 1024 * 1024)
5845-
Int return_code = select_first([task.return_code, 0])
5844+
Int? return_code = task.return_code
58465845
}
58475846
58485847
requirements {
@@ -5934,8 +5933,8 @@ task hisat2 {
59345933
59355934
parameter_meta {
59365935
index_tar_gz: "Gzipped tar file with HISAT2 index files"
5937-
fastq1: "The first-end FastQ file."
5938-
fastq2: "The second-end FastQ file."
5936+
fastq1: "The FASTQ file containing all read ones."
5937+
fastq2: "The FASTQ file containing all read twos."
59395938
sample_name: "Name of the sample"
59405939
}
59415940
}
@@ -8241,9 +8240,9 @@ task file_sizes {
82418240
82428241
output {
82438242
File created_file = "out.txt"
8244-
Float missing_file_bytes = if defined(missing_file) then size(missing_file, "B") else 0.0
8243+
Float missing_file_bytes = size(missing_file, "B")
82458244
Float created_file_bytes = size(created_file, "B")
8246-
Float multi_file_kb = size(select_all([created_file, missing_file]), "K") # 0.022
8245+
Float multi_file_kb = size([created_file, missing_file], "K") # 0.022
82478246
82488247
Map[String, Pair[Int, File]] nested = {
82498248
"a": (10, created_file),

0 commit comments

Comments
 (0)