Skip to content

Commit

Permalink
Do not cap chains in test_charge_and_solvate
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshanuikabundi committed Aug 10, 2024
1 parent c4f4dbe commit 63eb0a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdbfixer/tests/test_charge_and_solvate.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def test_charge_and_solvate(pdbCode, soluteCharge):
chainLengths = [len([*chain.residues()]) for chain in fixer.topology.chains()]
for chainidx, residx in list(fixer.missingResidues):
if residx == 0:
fixer.missingResidues[chainidx, residx] = ["ACE"]
fixer.missingResidues[chainidx, residx] = []
elif residx == chainLengths[chainidx]:
fixer.missingResidues[chainidx, residx] = ["NME"]
fixer.missingResidues[chainidx, residx] = []

fixer.findNonstandardResidues()
fixer.replaceNonstandardResidues()
Expand Down

0 comments on commit 63eb0a7

Please sign in to comment.