Skip to content

Commit 543aa91

Browse files
committed
Fix issue related to JSONObject migration
1 parent 7dbb86b commit 543aa91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/ScatterGatherUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public static void possiblyCacheSupportFiles(SequenceOutputHandler.JobContext ct
3838
{
3939
for (String param : Arrays.asList("exclude_intervals", "forceSitesFile"))
4040
{
41-
if (ctx.getParams().get("variantCalling.GenotypeGVCFs." + param) != null)
41+
if (!ctx.getParams().isNull("variantCalling.GenotypeGVCFs." + param))
4242
{
43-
File inputFile = ctx.getSequenceSupport().getCachedData(ctx.getParams().getInt("variantCalling.GenotypeGVCFs." + param));
43+
File inputFile = ctx.getSequenceSupport().getCachedData(ctx.getParams().optInt("variantCalling.GenotypeGVCFs." + param));
4444
if (!inputFile.exists())
4545
{
4646
throw new PipelineJobException("Unable to find file: " + inputFile.getPath());

0 commit comments

Comments
 (0)