Skip to main content

load_model

Function load_model 

Source
pub fn load_model<P: AsRef<Path>>(file_path: P) -> Result<Model>
Expand description

Load the representative (first) model from a structure file as a Model.

For multi-model files, only the first model is returned. Use load_trajectory to access all frames.

Currently supported: .cif. PDB single-model support pending.