pub fn validate(pdb: &PDB) -> Vec<PDBError>
Expand description
Validate a given PDB file in terms of invariants that should be held up.
It returns PDBError
s with the warning messages.
Invariants Tested
- With multiple models the models should all contain atoms that correspond.
Invariants Not Tested
- Numbering of all structs, serial numbers should be unique. To enforce this the
renumber()
function should be called on the PDB struct.