Skip to content
Snippets Groups Projects
Commit 2b2ce0ce authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

fix

parent e4c21bcb
No related branches found
No related tags found
No related merge requests found
......@@ -569,7 +569,6 @@ class Class1AffinityPredictor(object):
for (allele, sub_df) in df.groupby("allele"):
df.loc[sub_df.index, "result"] = self.percentile_ranks(
sub_df.affinity, allele=allele, throw=throw)
assert not df.result.isnull().any()
return df.result.values
def predict(self, peptides, alleles=None, allele=None, throw=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment