Closed aozalevsky closed 1 month ago
This looks like incorrect data in the mmCIF file to me. The experimentally-identified cross link with ihm_cross_link_list.id=9 says that one end is at residue 182 in entity 2. But entity 2 contains only 174 residues. So an IndexError
is the correct response here.
@benmwebb Oh, sorry, I missed that. What would be your suggestion? Should it be fixed in the entry, or should I capture this in my code? Shouldn't there be a self-consistency data check during the deposition?
IMHO if there's incorrect data in the file it should be fixed in the entry by the authors or by PDB-Dev folks such as @brindakv. I thought this was checked at deposition but maybe it's easy to miss since the file still validates.
python-ihm
fails during retrieval of sequence information from entry 30. Here is the error message:And the minimal code to reproduce:
I traced the behavior back to
0.38
when theresidue.comp
attribute was introduced.