Skip to content

Commit

Permalink
Sensible error for issue 1337
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorFWild committed Feb 21, 2024
1 parent ff41f5d commit 9f3757a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def _align_structure(
for _model in _structure:
for _chain in _model:
if _chain.name not in neighbourhood_chains:
_structure.remove_chain(_chain.name)
_model.remove_chain(_chain.name)

# Write the fully aligned structure
_structure.write_pdb(str(out_path))
Expand Down

0 comments on commit 9f3757a

Please sign in to comment.