Skip to content

Commit

Permalink
fix missing class reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy McRae committed Sep 26, 2016
1 parent 4e162c1 commit 559588f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clinicalfilter/inheritance.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ def check_variant_without_parents(self, inheritance):
# some probands have one parents genotypes available. We can exclude
# dominant variants inherited from an unaffected parent
parent, status = None, True
if dad is not None:
if self.dad is not None:
parent, status = self.dad, self.father_affected
elif mom is not None:
elif self.mom is not None:
parent, status = self.mom, self.mother_affected

if not status and parent.is_not_ref():
Expand Down Expand Up @@ -444,9 +444,9 @@ def check_variant_without_parents(self, inheritance):
# some probands have one parents genotypes available. We can exclude
# dominant variants inherited from an unaffected parent
parent, status = None, True
if dad is not None:
if self.dad is not None:
parent, status = self.dad, self.father_affected
elif mom is not None:
elif self.mom is not None:
parent, status = self.mom, self.mother_affected

if not status and parent.is_not_ref():
Expand Down

0 comments on commit 559588f

Please sign in to comment.