pub fn write_format<'a, P: AsRef<Path>>( path: P, mols: impl IntoIterator<Item = &'a Molecule>, fmt: &str, ) -> Result<()>
Write molecules into path in specific chemical file format.