I made a unit test for remove_models_except to test out the new features and it shows some problems with the implementation. When I remove all except &[5, 1, 3] the resulting pdb contains models [5, 0, 1]. I added the unit test in the branch remove_except_issue for ease of testing, alongside a very simple testing pdb. @OWissett could you look into this?
I made a unit test for
remove_models_except
to test out the new features and it shows some problems with the implementation. When I remove all except&[5, 1, 3]
the resulting pdb contains models[5, 0, 1]
. I added the unit test in the branchremove_except_issue
for ease of testing, alongside a very simple testing pdb. @OWissett could you look into this?