Skip to content

Commit b0df25a

Browse files
committed
Fix path to nimble HTML
1 parent 1670bcf commit b0df25a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

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

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public void doNimbleAlign(File bam, PipelineStepOutput output, Readset rs, Strin
288288
description += "\nscore_percent: " + genome.getScorePercent();
289289
}
290290

291-
output.addSequenceOutput(results, basename + ": nimble align", "Nimble Alignment", rs.getRowId(), null, genome.getGenomeId(), description);
291+
output.addSequenceOutput(results, basename + ": nimble align", "Nimble Results", rs.getRowId(), null, genome.getGenomeId(), description);
292292

293293
File reportHtml = getReportHtmlFileFromResults(results);
294294
if (!reportHtml.exists())
@@ -300,17 +300,7 @@ public void doNimbleAlign(File bam, PipelineStepOutput output, Readset rs, Strin
300300
}
301301
else
302302
{
303-
output.addSequenceOutput(results, basename + ": nimble report", "Nimble Report", rs.getRowId(), null, genome.getGenomeId(), description);
304-
}
305-
306-
File outputBam = new File(results.getPath().replaceAll("results." + genome.genomeId + ".txt.gz", "nimbleAlignment." + genome.genomeId + ".bam"));
307-
if (outputBam.exists())
308-
{
309-
output.addSequenceOutput(outputBam, basename + ": nimble align", "Nimble Alignment", rs.getRowId(), null, genome.getGenomeId(), description);
310-
}
311-
else
312-
{
313-
getPipelineCtx().getLogger().debug("BAM not found: " + outputBam.getPath());
303+
output.addSequenceOutput(reportHtml, basename + ": nimble report", "Nimble Report", rs.getRowId(), null, genome.getGenomeId(), description);
314304
}
315305
}
316306
}

0 commit comments

Comments
 (0)