Commit c69ef4b7 by John Chodera (MSKCC)

Fixed bug in nosetest for removechains.

parent ab0a7435
...@@ -25,7 +25,7 @@ def remove_chain_indices_and_verify(pdbid, chain_indices_to_remove, expected_cha ...@@ -25,7 +25,7 @@ def remove_chain_indices_and_verify(pdbid, chain_indices_to_remove, expected_cha
# Remove specified chains. # Remove specified chains.
fixer.removeChains(chainIndices=chain_indices_to_remove) fixer.removeChains(chainIndices=chain_indices_to_remove)
# Check to make sure asserted chains remain. # Check to make sure asserted chains remain.
chain_ids_remaining = [ chain.id for chain in fixer.topology.chains() ] chain_ids_remaining = [c.chain_id for c in fixer.structureChains]
assertItemsEqual(chain_ids_remaining, expected_chain_ids_remaining) assertItemsEqual(chain_ids_remaining, expected_chain_ids_remaining)
def test_removechain_indices(): def test_removechain_indices():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment