No such file or directory while running python script in wdl

Post author
Manish Gupta

I am newbie to WDL world and trying my first program by wriitng first wdl and calling python script.


workflow myWorkflow {

    call myTask

task myTask {
    command {
        python3 ./
    output {
        String out = read_string(stdout())


print("hello world")

Command for running workflow.jar

java -jar cromwell-58.jar run myWorkflow.wdl

but i am getting error message while running above command.

/usr/local/bin/python3: can't open file '/Users/myuser/wdl/cromwell/cromwell-executions/myWorkflow/6609f4d3-c8f2-4ede-8b60-f570994c6d8a/call-myTask/execution/./ [Errno 2] No such file or directory

While mywokflow.wdl, and cromwell-58.jar are in same folder. How can i fix such issue?


1 comment

  • Comment author
    Sushma Chaluvadi

    Hi there!
    Can you try removing the `./` in front of `` and see if that eliminates the error that you are getting. 


Please sign in to leave a comment.