WDL with undeclared variable passes validation
open | Created 2018-03-08 | Last updated 2019-02-21| Posted by MatthewMah | See in Github


Needs Triage User Requested Improvement


Using wom-tool-30.2, the following wdl validates using java -jar womtool-30.2.jar validate test.wdl and shows no inputs with java -jar womtool-30.2.jar inputs test.wdl.

I think this should fail validation because the variable to_echo is used without being declared.

workflow test_validation{
        # missing variable
        #String to_echo
	call example{ input:
		to_echo = to_echo
	}
}

task example{
	String to_echo
	
	command{
		echo "${to_echo}"
	}
}

Return to top