Skip to content

Commit 0af7e45

Browse files
committed
Convert MHC migration code to a pipeline job
1 parent bbd85a5 commit 0af7e45

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

singlecell/src/org/labkey/singlecell/CellHashingServiceImpl.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,23 +1257,23 @@ private File generateCellHashingCalls(File citeSeqCountOutDir, File outputDir, S
12571257
writer.println("sudo $DOCKER run --rm=true \\");
12581258
if (SequencePipelineService.get().getMaxRam() != null)
12591259
{
1260-
writer.println("--memory=" + SequencePipelineService.get().getMaxRam() + "g \\");
1261-
writer.println("-e SEQUENCEANALYSIS_MAX_RAM \\");
1260+
writer.println("\t--memory=" + SequencePipelineService.get().getMaxRam() + "g \\");
1261+
writer.println("\t-e SEQUENCEANALYSIS_MAX_RAM \\");
12621262
}
12631263

12641264
if (SequencePipelineService.get().getMaxThreads(log) != null)
12651265
{
1266-
writer.println("-e SEQUENCEANALYSIS_MAX_THREADS \\");
1266+
writer.println("\t-e SEQUENCEANALYSIS_MAX_THREADS \\");
12671267
}
12681268

1269-
writer.println("-v \"${WD}:/work\" \\");
1270-
writer.println("-v \"${HOME}:/homeDir\" \\");
1271-
writer.println("-u $UID \\");
1272-
writer.println("-e USERID=$UID \\");
1273-
writer.println("-w /work \\");
1274-
writer.println("-e HOME=/homeDir \\");
1275-
writer.println("ghcr.io/bimberlab/cellhashr:latest \\");
1276-
writer.println("Rscript --vanilla " + localRScript.getName());
1269+
writer.println("\t-v \"${WD}:/work\" \\");
1270+
writer.println("\t-v \"${HOME}:/homeDir\" \\");
1271+
writer.println("\t-u $UID \\");
1272+
writer.println("\t-e USERID=$UID \\");
1273+
writer.println("\t-w /work \\");
1274+
writer.println("\t-e HOME=/homeDir \\");
1275+
writer.println("\tghcr.io/bimberlab/cellhashr:latest \\");
1276+
writer.println("\tRscript --vanilla " + localRScript.getName());
12771277
}
12781278
catch (IOException e)
12791279
{

0 commit comments

Comments
 (0)