pub fn write<'a, P: AsRef<Path>>( path: P, mols: impl IntoIterator<Item = &'a Molecule>, ) -> Result<()>
Write molecules into path. File format will be determined according to the path