Closed mgiulini closed 1 year ago
Two tests do not pass, namely:
pdb_selaltloc data/dummy_altloc.pdb
pdb_selaltloc data/dummy_altloc2.pdb
@joaomcteixeira could you please check them?
according to the old implementation the residue ILE 25 should be excluded, but in my opinion that's wrong.
Please check this PR carefully, as I didn't fully understand the quite complicated logic of the algorithm.
Thanks Marco,
Sorry to ask, but could you please add the test cases for the example we are trying to solve, along with some testing PDBs? Otherwise will be very difficult to review and test the code. pdb-tools
is one of those projects we really need to go along with test-driven development; otherwise, we are lost because there are so many cases.
I will look into the detail of those tests you referred to, but those have been so inspected in the past, yet a bug could have gone along.
Cheers,
hi Joao, a reference case is already present in #153, I copied part of that file in the tests/data folder and implemented a new test.
Cheers, Marco
Thanks, I will look at it asap.
hi @joaomcteixeira , do you have updates on this?
Not yet, sorry. Will try doing it asap.
Closing in favor of #156
Closes #153 by adding an if-clause on the ' ' key in
flush_resloc_occ
function.