Need to validate that file inputs from JSON are valid paths
open | Created 2017-06-20 | Last updated 2018-01-18| Posted by Horneth | See in Github


🐛Bug


This workflow run on JES will cause a JES failure with the local copy message must have path set

This is because the value for a is passed to JES as an input but because it's empty the submission fails.

We should catch this before it gets to JES and fail with a better error message.

task t {
    File a
    command {
        cat ${a}
    }
    output {
        String out = read_string(stdout())
    }
    runtime {
        docker: "ubuntu:latest"
    }
}

workflow w {
    call t
}
{
  "w.t.a": ""
}

Return to top