CIF conversion

rsutil.cif converts ordered CIF files into RS-LMTO lattice.nml and input.nml. See CIF to RS-LMTO source files for the conventions and Command-Line Interface (CLI) for the command-line interface.

from rsutil.cif import convert_cif

files, conversion = convert_cif("FeN.cif", "run")   # primitive cell, automatic ct
print(files.ct, files.neighbors_min, conversion.structure.metadata["centering"])