From 8e848ccd84e7b110129b95227d546ccbde911c80 Mon Sep 17 00:00:00 2001 From: ebanks Date: Sun, 27 Jun 2010 03:59:10 +0000 Subject: [PATCH] SAMFileWriters can now write to /dev/null without throwing exceptions, so we can remove the try/catch blocks. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3648 348d0f76-0448-11de-a6fe-93d51630548a --- .../RecalibrationWalkersPerformanceTest.java | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/java/test/org/broadinstitute/sting/gatk/walkers/recalibration/RecalibrationWalkersPerformanceTest.java b/java/test/org/broadinstitute/sting/gatk/walkers/recalibration/RecalibrationWalkersPerformanceTest.java index 086bd6512..016fac9cc 100755 --- a/java/test/org/broadinstitute/sting/gatk/walkers/recalibration/RecalibrationWalkersPerformanceTest.java +++ b/java/test/org/broadinstitute/sting/gatk/walkers/recalibration/RecalibrationWalkersPerformanceTest.java @@ -50,12 +50,7 @@ public class RecalibrationWalkersPerformanceTest extends WalkerTest { " -outputBam /dev/null", 0, new ArrayList(0)); - try { - executeTest("testTableRecalibratorWholeGenome", spec); - } catch (RuntimeException e) { - System.out.println("TODO: this is actually an acceptable/expected exception (trying to close dev/null/), so let's get on Picard to fix it..."); - // using /dev/null as an output source causes samtools to fail when it closes the stream, we shouldn't sweat it - } + executeTest("testTableRecalibratorWholeGenome", spec); } @Test @@ -70,11 +65,6 @@ public class RecalibrationWalkersPerformanceTest extends WalkerTest { " -outputBam /dev/null", 0, new ArrayList(0)); - try { - executeTest("testTableRecalibratorWholeExome", spec); - } catch (RuntimeException e) { - System.out.println("TODO: this is actually an acceptable/expected exception (trying to close dev/null/), so let's get on Picard to fix it..."); - // using /dev/null as an output source causes samtools to fail when it closes the stream, we shouldn't sweat it - } + executeTest("testTableRecalibratorWholeExome", spec); } } \ No newline at end of file