Skip to content

Commit 6cdb8f3

Browse files
committed
Make R/Docker jobs use same tmpdir as java
1 parent 0de31b8 commit 6cdb8f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

singlecell/api-src/org/labkey/api/singlecell/pipeline/AbstractSingleCellPipelineStep.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,9 @@ public static void executeR(SequenceOutputHandler.JobContext ctx, String dockerC
320320
writer.println("\t--memory='" + maxRam + "g' \\");
321321
}
322322

323+
File tmpDir = new File(SequencePipelineService.get().getJavaTempDir());
323324
writer.println("\t-v \"${WD}:/work\" \\");
324-
writer.println("\t-v \"/tmp:/tmp\" \\");
325+
writer.println("\t-v \"" + tmpDir.getPath() + ":/tmp\" \\");
325326
writer.println("\t-v \"${HOME}:/homeDir\" \\");
326327
writer.println("\t-u $UID \\");
327328
writer.println("\t-e USERID=$UID \\");

0 commit comments

Comments
 (0)