From b36757b21475e0ac1bcd79b8233f1a1155381019 Mon Sep 17 00:00:00 2001 From: jason brelsford Date: Fri, 24 Jan 2020 11:52:14 -0600 Subject: [PATCH] Updated fix for the isvalid gl into pyard.py --- pyard/pyard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyard/pyard.py b/pyard/pyard.py index 96404fe..7dfd3bf 100644 --- a/pyard/pyard.py +++ b/pyard/pyard.py @@ -442,8 +442,9 @@ def isvalid(self, allele: str) -> str: :return: allele or empty :rtype: boolean """ - v = lambda a: a in self.valid - return v(allele) + if not ismac(allele): + return allele in self.valid + return True def isvalid_gl(self, glstring: str) -> str: """