Skip to content

Commit

Permalink
Fix individual metadata for seqr layer headers (#774)
Browse files Browse the repository at this point in the history
* Fix individual metadata for seqr layer headers

* Clean up fix
  • Loading branch information
EddieLF authored May 14, 2024
1 parent 46a5cf5 commit 60d67d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/python/layers/participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,8 @@ async def get_seqr_individual_template(
rows = [{h: r.get(h) for h in set_headers if h in r} for r in rows]
headers = [] # get ordered headers if we have data for it
for h in SeqrMetadataKeys.get_ordered_headers():
if header := lheader_to_json.get(h.value.lower()) in set_headers:
header = lheader_to_json.get(h.value.lower())
if header in set_headers:
headers.append(header)

return {
Expand Down

0 comments on commit 60d67d1

Please sign in to comment.