Create tmpdir if it doesn't exist.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4936 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
0982d35f5b
commit
7cdaffbe5c
|
|
@ -196,6 +196,9 @@ public class GenomeAnalysisEngine {
|
||||||
// our microscheduler, which is in charge of running everything
|
// our microscheduler, which is in charge of running everything
|
||||||
MicroScheduler microScheduler = createMicroscheduler();
|
MicroScheduler microScheduler = createMicroscheduler();
|
||||||
|
|
||||||
|
// create temp directories as necessary
|
||||||
|
initializeTempDirectory();
|
||||||
|
|
||||||
// create the output streams "
|
// create the output streams "
|
||||||
initializeOutputStreams(microScheduler.getOutputTracker());
|
initializeOutputStreams(microScheduler.getOutputTracker());
|
||||||
|
|
||||||
|
|
@ -473,6 +476,14 @@ public class GenomeAnalysisEngine {
|
||||||
return walker instanceof ReadWalker;
|
return walker instanceof ReadWalker;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create the temp directory if it doesn't exist.
|
||||||
|
*/
|
||||||
|
private void initializeTempDirectory() {
|
||||||
|
File tempDir = new File(System.getProperty("java.io.tmpdir"));
|
||||||
|
tempDir.mkdirs();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the output streams as specified by the user.
|
* Initialize the output streams as specified by the user.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue