Skip to content

Commit

Permalink
convert OR / HR fields with empty string to None
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Nov 1, 2024
1 parent 1fdc5c2 commit 7809c6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pgscatalog.core/src/pgscatalog/core/lib/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ def alleles_must_parse(cls, value: Any) -> Allele:
"hm_match_pos",
"allelefrequency_effect",
"variant_type",
"OR",
"HR",
mode="before",
)
@classmethod
Expand Down

0 comments on commit 7809c6c

Please sign in to comment.