Skip to content

Commit

Permalink
Update test to match new lazy genotype evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjstevens committed Oct 29, 2018
1 parent 61d5d22 commit 7f45c79
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions tests/js_tests/spec/VCF.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,38 +262,38 @@ describe('VCF store', function() {
'P-values for strand bias, baseQ bias, mapQ bias and tail distance bias',
},
},
genotypes: {
'sample_data/raw/volvox/volvox-sorted.bam': {
GT: {
meta: {
Description: ['Genotype'],
id: ['GT'],
Number: 1,
Type: 'String',
},
values: ['0/1'],
})
expect(features[0].get('genotypes')).toEqual({
'sample_data/raw/volvox/volvox-sorted.bam': {
GT: {
meta: {
Description: ['Genotype'],
id: ['GT'],
Number: 1,
Type: 'String',
},
PL: {
meta: {
Description: ['List of Phred-scaled genotype likelihoods'],
id: ['PL'],
Number: 'G',
Type: 'Integer',
},
values: [55, 0, 73],
values: ['0/1'],
},
PL: {
meta: {
Description: ['List of Phred-scaled genotype likelihoods'],
id: ['PL'],
Number: 'G',
Type: 'Integer',
},
GQ: {
meta: {
Description: ['Genotype Quality'],
id: ['GQ'],
Number: 1,
Type: 'Integer',
},
values: [58],
values: [55, 0, 73],
},
GQ: {
meta: {
Description: ['Genotype Quality'],
id: ['GQ'],
Number: 1,
Type: 'Integer',
},
},
values: [58],
},
})
},
})
});
});

Expand Down

0 comments on commit 7f45c79

Please sign in to comment.