Expand description
Chemfiles multi-format import (real impl behind chemfiles feature; stubs otherwise).
Chemfiles → CON conversion.
Real implementation requires the chemfiles Cargo feature (links libchemfiles).
Without it, path/memory helpers are still present and return
[ChemfilesImportError::FeatureDisabled] so call sites compile uniformly.
Enums§
- Chemfiles
Import Error - Errors from chemfiles I/O or conversion (or missing feature).
Constants§
- CHEMFILES_
ATOM_ NAMES_ KEY - Display names in chemfiles /
atom_idorder. - CHEMFILES_
ATOM_ PROPS_ KEY - Per-atom property bag key in frame metadata.
- CHEMFILES_
ATOM_ TYPES_ KEY - Atomic types in chemfiles /
atom_idorder. - CHEMFILES_
EXTRA_ PREFIX - Prefix for unmapped chemfiles frame properties in CON metadata.
Functions§
- chemfiles_
enabled - Whether this build linked libchemfiles and implements import/selection.
- con_
frame_ from_ trajectory_ path - Read the first frame from a trajectory path.
- con_
frames_ from_ memory - Read a trajectory from an in-memory buffer (chemfiles memory reader).
- con_
frames_ from_ trajectory_ path - Open a trajectory with chemfiles and convert every step to
ConFrame.