Skip to content

Commit 834878c

Browse files
committed
Allow scatter/gather job to not produce a VCF
1 parent e8e7858 commit 834878c

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
@@ -209,7 +209,8 @@ public static File getScatterOutputByCategory(JobContext ctx, final String categ
209209

210210
if (scatterOutputs.isEmpty())
211211
{
212-
throw new PipelineJobException("Unable to find final VCF");
212+
ctx.getLogger().info("No outputs of category: " + category + " were found");
213+
return null;
213214
}
214215
else if (scatterOutputs.size() > 1)
215216
{

0 commit comments

Comments
 (0)