stxue1

Results 62 issues of stxue1

The `test_struct.wdl` unit test has an expected output of [`test_struct.person`](https://github.com/openwdl/wdl/blob/9c0b9cf4586508a9e6260cc5c5e562e21f625aac/SPEC.md?plain=1#L1151), but the workflow itself does not have an output variable named `person`: https://github.com/openwdl/wdl/blob/9c0b9cf4586508a9e6260cc5c5e562e21f625aac/SPEC.md?plain=1#L1124-L1136 I think instead of expecting `test_struct.person`, the...

The function `as_map` is unable to handle cases where one of its nested types is File. ```wdl version 1.1 workflow test_as_map { input { Array[Pair[String, File]] test_arr = [("a.bam", "a.bai")]...

bug
interop

Half numbers in miniwdl are rounded down instead of rounding up, which differs with the spec: https://github.com/openwdl/wdl/blob/9c0b9cf4586508a9e6260cc5c5e562e21f625aac/SPEC.md?plain=1#L6279 > Rounds a floating point number to the nearest integer based on standard...

interop

When `transpose` is called on an array, it is not considered equal to its explicitly typed counterpart: ```wdl version 1.1 workflow wf { input {} Array[Array[Int]] a = [[1,2,3]] output...

bug
interop

The WDL spec says [read_boolean is whitespace and case insensitive](https://github.com/openwdl/wdl/blob/9c0b9cf4586508a9e6260cc5c5e562e21f625aac/SPEC.md?plain=1#L7046C146-L7046C152) when calling `read_bool`. However, MiniWDK is unable to run the following workflow: ```wdl version 1.1 task read_bool { command false_file...

interop

The WDL spec states that `write_json` [cannot serialize a map with integer keys](https://github.com/openwdl/wdl/blob/9c0b9cf4586508a9e6260cc5c5e562e21f625aac/SPEC.md?plain=1#L7597-L7603). ```wdl Pair[Int, Map[Int, String]] x = (1, {2: "hello"}) # this fails with an error - Map...

interop

[When a file is declared as optional, the value should be null if the file does not exist](https://github.com/openwdl/wdl/blob/caff59db192636d9f93f3f5659eb5939f51ff877/SPEC.md?plain=1#L3880). In an array of optional files, this should mean those nonexistent file...

interop

Objects are deprecated in 1.1, but the spec, at least according to their unit tests, requires the object type to be supported for WDL 1.1. There is a unit test...

interop

If a WDL doesn't specify a workflow and only has a task, trying to supply input JSON always errors: ``` check JSON input; unknown input/output: glob.num_files ``` Some of the...

starter
interop
devex

For string-to-file coercion, MiniWDL is content with a nonexistent file if the variable is never used. For example: ```wdl version 1.1 workflow wf { input { File f = "path/to/file"...

question
interop