Open karpathyan opened 1 year ago
Hi @karpathyan , I think I solved the problem for the error you mentioned, but then another error came up, unrelated to that.
***Error: cell setup: Unable to read crystallographic parameters
Which means the program has problems extracting the cell parameters, but that is done through the external library CifFile (PyCifRW).
A workaround that I found is to open the file using other programs, such as VESTA, resave as a .cif file, remove the last two phases and then run cif2cell.
Modified cif file:
#======================================================================
# CRYSTAL DATA
#----------------------------------------------------------------------
data_VESTA_phase_1
_chemical_name_common 'sm_isp_SD0459244-standardized_unitcell'
_cell_length_a 5.730000
_cell_length_b 5.730000
_cell_length_c 5.730000
_cell_angle_alpha 90.000000
_cell_angle_beta 90.000000
_cell_angle_gamma 90.000000
_cell_volume 188.132519
_space_group_name_H-M_alt 'F m -3 m'
_space_group_IT_number 225
loop_
_space_group_symop_operation_xyz
'x, y, z'
'-x, -y, -z'
'-x, -y, z'
'x, y, -z'
'-x, y, -z'
'x, -y, z'
'x, -y, -z'
'-x, y, z'
'z, x, y'
'-z, -x, -y'
'z, -x, -y'
'-z, x, y'
'-z, -x, y'
'z, x, -y'
'-z, x, -y'
'z, -x, y'
'y, z, x'
'-y, -z, -x'
'-y, z, -x'
'y, -z, x'
'y, -z, -x'
'-y, z, x'
'-y, -z, x'
'y, z, -x'
'y, x, -z'
'-y, -x, z'
'-y, -x, -z'
'y, x, z'
'y, -x, z'
'-y, x, -z'
'-y, x, z'
'y, -x, -z'
'x, z, -y'
'-x, -z, y'
'-x, z, y'
'x, -z, -y'
'-x, -z, -y'
'x, z, y'
'x, -z, y'
'-x, z, -y'
'z, y, -x'
'-z, -y, x'
'z, -y, x'
'-z, y, -x'
'-z, y, x'
'z, -y, -x'
'-z, -y, -x'
'z, y, x'
'x, y+1/2, z+1/2'
'-x, -y+1/2, -z+1/2'
'-x, -y+1/2, z+1/2'
'x, y+1/2, -z+1/2'
'-x, y+1/2, -z+1/2'
'x, -y+1/2, z+1/2'
'x, -y+1/2, -z+1/2'
'-x, y+1/2, z+1/2'
'z, x+1/2, y+1/2'
'-z, -x+1/2, -y+1/2'
'z, -x+1/2, -y+1/2'
'-z, x+1/2, y+1/2'
'-z, -x+1/2, y+1/2'
'z, x+1/2, -y+1/2'
'-z, x+1/2, -y+1/2'
'z, -x+1/2, y+1/2'
'y, z+1/2, x+1/2'
'-y, -z+1/2, -x+1/2'
'-y, z+1/2, -x+1/2'
'y, -z+1/2, x+1/2'
'y, -z+1/2, -x+1/2'
'-y, z+1/2, x+1/2'
'-y, -z+1/2, x+1/2'
'y, z+1/2, -x+1/2'
'y, x+1/2, -z+1/2'
'-y, -x+1/2, z+1/2'
'-y, -x+1/2, -z+1/2'
'y, x+1/2, z+1/2'
'y, -x+1/2, z+1/2'
'-y, x+1/2, -z+1/2'
'-y, x+1/2, z+1/2'
'y, -x+1/2, -z+1/2'
'x, z+1/2, -y+1/2'
'-x, -z+1/2, y+1/2'
'-x, z+1/2, y+1/2'
'x, -z+1/2, -y+1/2'
'-x, -z+1/2, -y+1/2'
'x, z+1/2, y+1/2'
'x, -z+1/2, y+1/2'
'-x, z+1/2, -y+1/2'
'z, y+1/2, -x+1/2'
'-z, -y+1/2, x+1/2'
'z, -y+1/2, x+1/2'
'-z, y+1/2, -x+1/2'
'-z, y+1/2, x+1/2'
'z, -y+1/2, -x+1/2'
'-z, -y+1/2, -x+1/2'
'z, y+1/2, x+1/2'
'x+1/2, y, z+1/2'
'-x+1/2, -y, -z+1/2'
'-x+1/2, -y, z+1/2'
'x+1/2, y, -z+1/2'
'-x+1/2, y, -z+1/2'
'x+1/2, -y, z+1/2'
'x+1/2, -y, -z+1/2'
'-x+1/2, y, z+1/2'
'z+1/2, x, y+1/2'
'-z+1/2, -x, -y+1/2'
'z+1/2, -x, -y+1/2'
'-z+1/2, x, y+1/2'
'-z+1/2, -x, y+1/2'
'z+1/2, x, -y+1/2'
'-z+1/2, x, -y+1/2'
'z+1/2, -x, y+1/2'
'y+1/2, z, x+1/2'
'-y+1/2, -z, -x+1/2'
'-y+1/2, z, -x+1/2'
'y+1/2, -z, x+1/2'
'y+1/2, -z, -x+1/2'
'-y+1/2, z, x+1/2'
'-y+1/2, -z, x+1/2'
'y+1/2, z, -x+1/2'
'y+1/2, x, -z+1/2'
'-y+1/2, -x, z+1/2'
'-y+1/2, -x, -z+1/2'
'y+1/2, x, z+1/2'
'y+1/2, -x, z+1/2'
'-y+1/2, x, -z+1/2'
'-y+1/2, x, z+1/2'
'y+1/2, -x, -z+1/2'
'x+1/2, z, -y+1/2'
'-x+1/2, -z, y+1/2'
'-x+1/2, z, y+1/2'
'x+1/2, -z, -y+1/2'
'-x+1/2, -z, -y+1/2'
'x+1/2, z, y+1/2'
'x+1/2, -z, y+1/2'
'-x+1/2, z, -y+1/2'
'z+1/2, y, -x+1/2'
'-z+1/2, -y, x+1/2'
'z+1/2, -y, x+1/2'
'-z+1/2, y, -x+1/2'
'-z+1/2, y, x+1/2'
'z+1/2, -y, -x+1/2'
'-z+1/2, -y, -x+1/2'
'z+1/2, y, x+1/2'
'x+1/2, y+1/2, z'
'-x+1/2, -y+1/2, -z'
'-x+1/2, -y+1/2, z'
'x+1/2, y+1/2, -z'
'-x+1/2, y+1/2, -z'
'x+1/2, -y+1/2, z'
'x+1/2, -y+1/2, -z'
'-x+1/2, y+1/2, z'
'z+1/2, x+1/2, y'
'-z+1/2, -x+1/2, -y'
'z+1/2, -x+1/2, -y'
'-z+1/2, x+1/2, y'
'-z+1/2, -x+1/2, y'
'z+1/2, x+1/2, -y'
'-z+1/2, x+1/2, -y'
'z+1/2, -x+1/2, y'
'y+1/2, z+1/2, x'
'-y+1/2, -z+1/2, -x'
'-y+1/2, z+1/2, -x'
'y+1/2, -z+1/2, x'
'y+1/2, -z+1/2, -x'
'-y+1/2, z+1/2, x'
'-y+1/2, -z+1/2, x'
'y+1/2, z+1/2, -x'
'y+1/2, x+1/2, -z'
'-y+1/2, -x+1/2, z'
'-y+1/2, -x+1/2, -z'
'y+1/2, x+1/2, z'
'y+1/2, -x+1/2, z'
'-y+1/2, x+1/2, -z'
'-y+1/2, x+1/2, z'
'y+1/2, -x+1/2, -z'
'x+1/2, z+1/2, -y'
'-x+1/2, -z+1/2, y'
'-x+1/2, z+1/2, y'
'x+1/2, -z+1/2, -y'
'-x+1/2, -z+1/2, -y'
'x+1/2, z+1/2, y'
'x+1/2, -z+1/2, y'
'-x+1/2, z+1/2, -y'
'z+1/2, y+1/2, -x'
'-z+1/2, -y+1/2, x'
'z+1/2, -y+1/2, x'
'-z+1/2, y+1/2, -x'
'-z+1/2, y+1/2, x'
'z+1/2, -y+1/2, -x'
'-z+1/2, -y+1/2, -x'
'z+1/2, y+1/2, x'
loop_
_atom_site_label
_atom_site_occupancy
_atom_site_fract_x
_atom_site_fract_y
_atom_site_fract_z
_atom_site_adp_type
_atom_site_U_iso_or_equiv
_atom_site_type_symbol
Co 1.0 0.250000 0.250000 0.250000 Uiso ? Co
Al 1.0 0.500000 0.500000 0.500000 Uiso ? Al
Fe 1.0 0.000000 0.000000 0.000000 Uiso ? Fe
Output of cif2cell:
CIF2CELL 2.1.0
2023-10-03 16:06
Output for None
BIBLIOGRAPHIC INFORMATION
Failed to get author information, No journal information
INPUT CELL INFORMATION
Symmetry information:
Cubic crystal system.
Space group number : 225
Hall symbol : -F 4 2 3
Hermann-Mauguin symbol : Fm-3m
Lattice parameters:
a b c
5.7300000 5.7300000 5.7300000
alpha beta gamma
90.0000000 90.0000000 90.0000000
Representative sites :
Atom a1 a2 a3
Co 0.2500000 0.2500000 0.2500000
Al 0.5000000 0.5000000 0.5000000
Fe 0.0000000 0.0000000 0.0000000
OUTPUT CELL INFORMATION
Symmetry information:
Cubic crystal system.
Space group number : 225
Hall symbol : -F 4 2 3
Hermann-Mauguin symbol : Fm-3m
Bravais lattice vectors :
0.5000000 0.5000000 0.0000000
0.5000000 0.0000000 0.5000000
0.0000000 0.5000000 0.5000000
All sites, (lattice coordinates):
Atom a1 a2 a3
Co 0.2500000 0.2500000 0.2500000
Co 0.7500000 0.7500000 0.7500000
Al 0.5000000 0.5000000 0.5000000
Fe 0.0000000 0.0000000 0.0000000
Unit cell volume : 47.0331293 A^3
Unit cell density : 4.2670348 u/A^3 = 47.8158417 g/cm^3
Hope this helps.
Hi, I'm trying to convert some CIF files using cif2cell with the latest version (v 2.0). However, I'm getting an error while reading the CIF file. Strangeley, the same CIF files are reading fine with the older version of cif2cell ( 1.2.10 ).
here is the error I'm getting while running the following command
Could you please check this error? Thanks for your time.
Here is a copy of the CIF file I used