Skip to content

Commit 9393231

Browse files
committed
Bugfix index creation
1 parent b1d2053 commit 9393231

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

singlecell/src/org/labkey/singlecell/run/CellRangerFeatureBarcodeHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void processFilesRemote(List<Readset> readsets, JobContext ctx) throws Un
124124
{
125125
if (readsets.size() != 1)
126126
{
127-
throw new PipelineJobException("This step was designed to operate on a single readset. It should have been automatically split upstream");
127+
throw new PipelineJobException("This step was designed to operate on a single readset. It should have been automatically split upstream. Total: " + readsets.size());
128128
}
129129

130130
AlignmentOutputImpl output = new AlignmentOutputImpl();
@@ -255,7 +255,7 @@ private File makeDummyIndex(JobContext ctx) throws PipelineJobException
255255
{
256256
try
257257
{
258-
File indexDir = new File(ctx.getOutputDir(), "dummyIndex");
258+
File indexDir = new File(ctx.getOutputDir(), "cellrangerIndex");
259259
if (!indexDir.exists())
260260
{
261261
indexDir.mkdirs();
@@ -294,7 +294,7 @@ private File makeDummyIndex(JobContext ctx) throws PipelineJobException
294294
args.add("--memgb=" + maxRam.toString());
295295
}
296296

297-
wrapper.setWorkingDir(indexDir.getParentFile());
297+
wrapper.setWorkingDir(indexDir);
298298
wrapper.execute(args);
299299

300300
return indexDir;

0 commit comments

Comments
 (0)