@@ -179,22 +179,30 @@ def test_write_remapped_and_subsetted_callset_task_failed_some_family_checks(
179
179
},
180
180
},
181
181
ploidy_check = {
182
- '234_1' : hl .Struct (
183
- samples = ['NA19678_1' ],
184
- reasons = "Found samples with misaligned ploidy with their provided imputed sex: ['NA19678_1']" ,
185
- ),
186
- '567_1' : hl .Struct (
187
- samples = ['NA20872_1' ],
188
- reasons = "Found samples with misaligned ploidy with their provided imputed sex: ['NA20872_1']" ,
189
- ),
190
- 'bcd_1' : hl .Struct (
191
- samples = ['NA20878_1' ],
192
- reasons = "Found samples with misaligned ploidy with their provided imputed sex: ['NA20878_1']" ,
193
- ),
194
- 'cde_1' : hl .Struct (
195
- samples = ['NA20881_1' ],
196
- reasons = "Found samples with misaligned ploidy with their provided imputed sex: ['NA20881_1']" ,
197
- ),
182
+ '234_1' : {
183
+ 'reasons' : [
184
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA19678_1']" ,
185
+ ],
186
+ 'samples' : ['NA19678_1' ],
187
+ },
188
+ '567_1' : {
189
+ 'reasons' : [
190
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA20872_1']" ,
191
+ ],
192
+ 'samples' : ['NA20872_1' ],
193
+ },
194
+ 'bcd_1' : {
195
+ 'reasons' : [
196
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA20878_1']" ,
197
+ ],
198
+ 'samples' : ['NA20878_1' ],
199
+ },
200
+ 'cde_1' : {
201
+ 'reasons' : [
202
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA20881_1']" ,
203
+ ],
204
+ 'samples' : ['NA20881_1' ],
205
+ },
198
206
},
199
207
),
200
208
),
@@ -298,21 +306,29 @@ def test_write_remapped_and_subsetted_callset_task_all_families_failed(
298
306
},
299
307
},
300
308
'ploidy_check' : {
301
- 'cde_1' : {
302
- 'samples' : ['NA20881_1' ],
303
- 'reasons' : "Found samples with misaligned ploidy with their provided imputed sex: ['NA20881_1']" ,
309
+ '567_1' : {
310
+ 'samples' : ['NA20872_1' ],
311
+ 'reasons' : [
312
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA20872_1']" ,
313
+ ],
304
314
},
305
315
'234_1' : {
306
316
'samples' : ['NA19678_1' ],
307
- 'reasons' : "Found samples with misaligned ploidy with their provided imputed sex: ['NA19678_1']" ,
317
+ 'reasons' : [
318
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA19678_1']" ,
319
+ ],
308
320
},
309
321
'bcd_1' : {
310
322
'samples' : ['NA20878_1' ],
311
- 'reasons' : "Found samples with misaligned ploidy with their provided imputed sex: ['NA20878_1']" ,
323
+ 'reasons' : [
324
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA20878_1']" ,
325
+ ],
312
326
},
313
- '567_1' : {
314
- 'samples' : ['NA20872_1' ],
315
- 'reasons' : "Found samples with misaligned ploidy with their provided imputed sex: ['NA20872_1']" ,
327
+ 'cde_1' : {
328
+ 'samples' : ['NA20881_1' ],
329
+ 'reasons' : [
330
+ "Found samples with misaligned ploidy with their provided imputed sex: ['NA20881_1']" ,
331
+ ],
316
332
},
317
333
},
318
334
},
0 commit comments