Only create the genotype map when necessary
This commit is contained in:
parent
c4c90c8826
commit
dc42571dd9
|
|
@ -823,7 +823,8 @@ public class VariantContext implements Feature { // to enable tribble intergrati
|
|||
|
||||
private void loadGenotypes() {
|
||||
if ( !hasAttribute(UNPARSED_GENOTYPE_MAP_KEY) ) {
|
||||
genotypes = NO_GENOTYPES;
|
||||
if ( genotypes == null )
|
||||
genotypes = NO_GENOTYPES;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue