Skip to content

Commit

Permalink
Revert "tweak chain break message for linux doctest"
Browse files Browse the repository at this point in the history
This reverts commit 3893ed3.
  • Loading branch information
rob-miller committed Apr 18, 2022
1 parent 5905551 commit d6a1f67
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Bio/PDB/internal_coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,17 +711,9 @@ def _add_residue(
if last_ord_res != last_res:
reason = f"disordered residues after {last_ord_res.pretty_str()}"
else:
"""
# this code not working with doctest
reason = cast(
str, self._peptide_check(last_ord_res[0].residue, res)
)
"""
r = self._peptide_check(last_ord_res[0].residue, res)
if r is not None:
reason = r
else:
reason = "unknown" # obviously this should not happen!
print(f"chain break at {ric.pretty_str()} due to {reason}")

iNCaC = ric.split_akl(
Expand Down

0 comments on commit d6a1f67

Please sign in to comment.