From e19b5d17b42d27258d17f17b74725d79ca010eee Mon Sep 17 00:00:00 2001 From: kshakir Date: Sat, 29 Jan 2011 20:45:44 +0000 Subject: [PATCH] Related to last checkin, need to create the directory when writing the yamlthe first time after an ant clean. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5127 348d0f76-0448-11de-a6fe-93d51630548a --- .../queue/pipeline/playground/FullCallingPipelineTest.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }