Function pdbtbx::validate [−][src]
pub fn validate(pdb: &PDB) -> Vec<PDBError>
Validate a given PDB file in terms of invariants that should be held up. It returns PDBErrors 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.