bug caused by a misprint: context != contexts
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3073 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
3176715c74
commit
2373a4618f
|
|
@ -493,7 +493,7 @@ public class VariantEval2Walker extends RodWalker<Integer, Integer> {
|
|||
RefMetaDataTracker tracker, AlignmentContext context, boolean allowExcludes ) {
|
||||
for ( String name : names ) {
|
||||
Collection<VariantContext> contexts = tracker.getVariantContexts(name, ALLOW_VARIANT_CONTEXT_TYPES, context.getLocation(), true, true);
|
||||
if ( context.size() > 1 )
|
||||
if ( contexts.size() > 1 )
|
||||
throw new StingException("Found multiple variant contexts at " + context.getLocation());
|
||||
|
||||
VariantContext vc = contexts.size() == 1 ? contexts.iterator().next() : null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue