Function pdbtbx::open_mmcif[][src]

pub fn open_mmcif(
    filename: &str,
    level: StrictnessLevel
) -> Result<(PDB, Vec<PDBError>), Vec<PDBError>>

Parse the given mmCIF file into a PDB struct. Returns an PDBError when it found a BreakingError. Otherwise it returns the PDB with all errors/warnings found while parsing it.