Skip to content

Commit 0969e2b

Browse files
committed
Bugfix to mGAPReleaseGenerator and VCF indexes
1 parent b5b85d7 commit 0969e2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mGAP/src/org/labkey/mgap/pipeline/mGapReleaseGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,10 @@ else if (so.getCategory().endsWith("Release Track"))
432432
throw new PipelineJobException("Unable to find novel sites VCF for release: " + release);
433433
}
434434

435-
SequenceOutputFile luceneIndex = JBrowseService.get().findMatchingLuceneIndex(inputs.get(0), IndexVariantsForMgapStep.getInfoFieldsToIndex(job.getContainer(), job.getUser()), job.getUser(), job.getLogger());
435+
SequenceOutputFile luceneIndex = JBrowseService.get().findMatchingLuceneIndex(so, IndexVariantsForMgapStep.getInfoFieldsToIndex(job.getContainer(), job.getUser()), job.getUser(), job.getLogger());
436436
if (luceneIndex == null)
437437
{
438-
throw new PipelineJobException("Unable to lucene index matching the input VCF: " + inputs.get(0).getFile().getPath());
438+
throw new PipelineJobException("Unable to lucene index matching the input VCF: " + so.getFile().getPath());
439439
}
440440

441441
//find basic stats:

0 commit comments

Comments
 (0)