Skip to content

Commit 0e124f9

Browse files
committed
Improve pacbio error checking
1 parent ed83b68 commit 0e124f9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/analysis/PbsvJointCallingHandler.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,14 @@ private File runPbsvCall(JobContext ctx, List<File> inputs, ReferenceGenome geno
237237
{
238238
ctx.getLogger().info("Sample is missing contig: " + contig + ", skipping: " + s.getPath());
239239
}
240-
else
240+
else if ("1".equals(ret))
241241
{
242242
samplesToUse.add(s);
243243
}
244+
else
245+
{
246+
throw new PipelineJobException("Unknown output: " + ret);
247+
}
244248
}
245249
}
246250
else

0 commit comments

Comments
 (0)