Skip to content

Commit 6681142

Browse files
committed
Bugfix to scatter/gather
1 parent c7685ad commit 6681142

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/pipeline/ProcessVariantsHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,8 @@ public void performAdditionalMergeTasks(JobContext ctx, PipelineJob job, TaskFil
879879
List<PipelineStepCtx<VariantProcessingStep>> providers = SequencePipelineService.get().getSteps(job, VariantProcessingStep.class);
880880
for (PipelineStepCtx<VariantProcessingStep> stepCtx : providers)
881881
{
882-
if (stepCtx.getProvider() instanceof VariantProcessingStep.SupportsScatterGather ssg)
882+
VariantProcessingStep vps = stepCtx.getProvider().create(ctx);
883+
if (vps instanceof VariantProcessingStep.SupportsScatterGather ssg)
883884
{
884885
ssg.performAdditionalMergeTasks(ctx, job, manager, genome, orderedScatterOutputs, orderedJobDirs);
885886
}

0 commit comments

Comments
 (0)