Skip to content

Commit edc37be

Browse files
committed
Bugfix to location of alignResults
1 parent 2f05093 commit edc37be

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ public void processFilesOnWebserver(PipelineJob job, SequenceAnalysisJobSupport
9595

9696
}
9797

98+
private File getAlignmentResults(File reportResults)
99+
{
100+
return new File(reportResults.getParentFile(), reportResults.getName().replaceAll("reportResults", "alignResults") + ".gz");
101+
}
102+
98103
@Override
99104
public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext ctx) throws UnsupportedOperationException, PipelineJobException
100105
{
@@ -103,7 +108,7 @@ public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext c
103108
for (SequenceOutputFile so : inputFiles)
104109
{
105110
// This is the prior report results:
106-
File alignmentFile = new File(so.getFile().getParentFile(), so.getFile().getName().replaceAll("reportResults", "alignResults"));
111+
File alignmentFile = getAlignmentResults(so.getFile());
107112
if (!alignmentFile.exists())
108113
{
109114
throw new PipelineJobException("Unable to find file: " + alignmentFile.getPath());

0 commit comments

Comments
 (0)