diff --git a/scala/test/org/broadinstitute/sting/queue/pipeline/playground/FullCallingPipelineTest.scala b/scala/test/org/broadinstitute/sting/queue/pipeline/playground/FullCallingPipelineTest.scala index c47ff56ca..0b7cd2414 100644 --- a/scala/test/org/broadinstitute/sting/queue/pipeline/playground/FullCallingPipelineTest.scala +++ b/scala/test/org/broadinstitute/sting/queue/pipeline/playground/FullCallingPipelineTest.scala @@ -135,7 +135,9 @@ class FullCallingPipelineTest { } private def writeYaml(testName: String, pipeline: Pipeline) = { - val yamlFile = new File(PipelineTest.runDir(testName), pipeline.getProject.getName + ".yaml") + val runDir = PipelineTest.runDir(testName) + new File(runDir).mkdirs + val yamlFile = new File(runDir, pipeline.getProject.getName + ".yaml") YamlUtils.dump(pipeline, yamlFile) yamlFile }