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
This commit is contained in:
ebanks 2010-06-27 03:59:10 +00:00
parent 09ccdf83b2
commit 8e848ccd84
1 changed files with 2 additions and 12 deletions

View File

@ -50,12 +50,7 @@ public class RecalibrationWalkersPerformanceTest extends WalkerTest {
" -outputBam /dev/null",
0,
new ArrayList<String>(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<String>(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);
}
}