Skip to content

Commit

Permalink
adjustment to missing participants in pedigree generation
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWellie committed Aug 22, 2023
1 parent 36f1840 commit 62d0c66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helpers/prepare_aip_cohort.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ def process_pedigree(
ped_lines = []
for entry in ped_with_permutations:
for sample, mother, father in product(
entry['individual_id'], entry['paternal_id'], entry['maternal_id']
entry['individual_id'],
entry['paternal_id'] or ['0'],
entry['maternal_id'] or ['0'],
):
ped_lines.append(
'\t'.join(
Expand Down

0 comments on commit 62d0c66

Please sign in to comment.