Skip to content

Commit 97c21bd

Browse files
author
Richard Liang
committed
Minor change to the docstring for AllelePairs.is_homozygous.
1 parent c4431b8 commit 97c21bd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/hla_algorithm/models.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,9 @@ class AllelePairs(BaseModel):
217217

218218
def is_homozygous(self) -> bool:
219219
"""
220-
Determine the homozygousness of alleles.
221-
222-
Homozygousity meaning a pair is matching on both sides, ex:
223-
`Cw*0722 - Cw*0722`
220+
Determine the homozygousness of these allele pairs.
224221
222+
A pair is homozygous if both elements match, e.g. C*07:22 - C*07:22.
225223
If *any* pair of alleles matches, then we declare the whole set to be
226224
homozygous.
227225

0 commit comments

Comments
 (0)