Fix issue in reduced formula creation
The class atomtutils.Formula
is not creating the reduced formula correctly. Should be fixed. Also, tests should be created for this class alongside better documentation.
Hopefully, this can become our default formula generator instead of using misc formula creation tools from ASE
and pymatgen
which are sometimes incompatible with our metainfo definitions.