The imgCIF dictionary provides data names for description of raw image data, usually from diffraction experiments. Currently the main development of imgCIF takes place in the cbflib repository.
This repository holds a DDLm version of the imgCIF dictionary found in the main branch of that repository in this repository's main branch. This DDLm version may be used as a data name reference.
The DDLm version was automatically obtained from the DDL2 version by running the command:
julia ddl_to_ddl.jl -c multi_block_core.dic -i --short --strict -t CIF_IMG -o cif_img.dic cif_img_1.8.9.1.dic ddl2
using the ddl_to_ddl.jl tool and associated translation dictionaries from the
https://github.com/jamesrhester/ddl_to_ddl repository and the multi_block_core.dic
found in the COMCIFS MultiBlock_Dictionary repository.
In particular, the translation options above perform the following:
-
All DDLm attributes are "calculated" from DDL2 attributes according to translation dictionaries included in the
ddl_to_ddlrepository. -
Additional non-canonical data attributes (prefixed with
ddl2) are included in the translated DDLm dictionary to preserve information not captured by DDLm attributes. For details see theddl_to_ddltool. -
Any common categories defined to be of class
Setincif_core.dicare restated to beSetcategories in the translated dictionary -
The dictionary title is changed to
cif_imgto conform to DDLm style. -
(
--short): The import of the MultiBlock dictionary will not specify a directory for simplicity in testing. This implies that all dictionaries are in the same directory. -
(
--strict): Modifications to satisfy DDLm style and strict semantic requirements:- All DDL2-specific categories generated at (2) are dropped
- Data names defined as aliases have any separate definition blocks removed
- Version numbers enhanced to conform to semantic versioning
- Version numbers re-ordered to be ascending order
- Aliases defined in both
cif_img.dicand the imported dictionary are removed fromcif_img.dic
expanded/cif_img_expanded.dic is generated as above, but without the --strict and -t options. The
ddl2 version can be recovered by running
julia ddl_to_ddl.jl -o cif_img_ddl2.dic cif_img_expanded.dic ddlm