Skip to content

Commit 9062214

Browse files
committed
Update job status
1 parent 80df856 commit 9062214

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/analysis/CellHashingHandler.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ public void processFilesRemote(List<Readset> readsets, JobContext ctx) throws Un
268268
{
269269
ctx.getLogger().warn("None of the edit distances produced results");
270270
}
271+
272+
//clear info field
273+
ctx.getJob().setStatus(PipelineJob.TaskStatus.running);
271274
}
272275
}
273276
}
@@ -277,7 +280,7 @@ private Map<String, Object> executeCiteSeqCount(JobContext ctx, RecordedAction a
277280
CiteSeqCountWrapper wrapper = new CiteSeqCountWrapper(ctx.getLogger());
278281
ReadData rd = rs.getReadData().get(0);
279282

280-
//ctx.getJob().setStatus(PipelineJob.TaskStatus.running, "Running CITE-seq-count with edit distance: " + editDistance);
283+
ctx.getJob().setStatus(PipelineJob.TaskStatus.running, "Running CITE-seq-count with edit distance: " + editDistance);
281284
List<String> args = new ArrayList<>();
282285

283286
args.addAll(getClientCommandArgs(ctx.getParams()));
@@ -326,6 +329,7 @@ private Map<String, Object> executeCiteSeqCount(JobContext ctx, RecordedAction a
326329
}
327330
ctx.getFileManager().addIntermediateFile(doneFile);
328331

332+
ctx.getJob().setStatus(PipelineJob.TaskStatus.running, "Generating HTO calls for edit distance: " + editDistance);
329333
File htoCalls = generateFinalCalls(outputMatrix.getParentFile(), ctx.getOutputDir(), outputBasename, ctx.getLogger(), null, true, minCountPerCell, ctx.getSourceDirectory());
330334
File html = new File(htoCalls.getParentFile(), outputBasename + ".html");
331335

0 commit comments

Comments
 (0)