Open nicriz opened 1 year ago
Yeah, that looks a bit weird. I wonder if some of the space group fields are perhaps non-standard:
$> grep sym 9009679.cif
_symmetry_space_group_name_Hall '-R 3 2"c'
_symmetry_space_group_name_H-M 'R -3 c :H'
_cod_original_sg_symbol_H-M 'R -3 c'
_space_group_symop_operation_xyz
Leaving this open for next time I have time to look at the CIF code.
Hi, I get a weird behaviour when trying to read a CIF file from Crystallography Open Database.
Loading the structure of the Al2O3 without forcing the space group gives me a consistent output for the structure (right number of atoms per unit cell):
c_cif_codZapphire_attempt1 = nc.NCMATComposer('codid::9009679')
I get obviously the warning about multiple choices available for SG-167 and the suggestion to force the choice of one of them. However none of the two choices (R -3 m:H and R -3 m:R) work when trying to run:
c_choice = nc.NCMATComposer.from_cif('codid::9009679', uiso_temperature=300, override_spacegroup="R -3 m:H")
While the second one is not compatible with deduced space group (according to Gemmi), the first one throws the following error:
as if the default loaded structure was AlO6, which doesn't seem to be the case looking at the first ncmat output. I am wondering if the origin of this behaviour is to blame to NCrystal or to poor CIF file.