Skip to main content

parse_pdb

Function parse_pdb 

Source
pub fn parse_pdb(input: &str) -> Result<Structure>
Expand description

Parse a PDB-format string into a Structure.

ยงErrors

Returns an error if no ATOM records are found or if an ATOM record is malformed (wrong column widths, unparseable coordinates).