Skip to content

Commit

Permalink
We probably want to print what file this refers to
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanaba committed Jan 27, 2022
1 parent 13c688c commit 897b450
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ABlooper/ABlooper.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ def predict_CDRs(self):

# A decoy diversity of over 3A does not really happen unless something has gone wrong.
if (self.decoy_diversity[CDR] > 3.0) and (CDR != "H3") and self.warn:
print("CDR-{} prediction incorrect. Are you sure the provided structure is an IMGT numbered "
"antibody?".format(CDR))
print("Warning: CDR-{} prediction for {} incorrect.".format(CDR, self.pdb_file))
print("Are you sure the provided structure is an IMGT numbered antibody?")
self.warn = False

return self.predicted_CDRs

Expand Down

0 comments on commit 897b450

Please sign in to comment.