Skip to main content

parse_pdbml_document

Function parse_pdbml_document 

Source
pub fn parse_pdbml_document(bytes: &[u8]) -> Result<Document, PdbmlError>
Expand description

Parses PDBML/XML into the same lossless document used by mmCIF. Unknown categories and items are retained in source order.

ยงErrors

Returns an error for malformed XML, absent datablocks, or inconsistent category/row nesting.