Closed rowlesmr closed 1 year ago
The DDLM check fails with:
Dictionary check detected the following irregularities:
/github/workspace/cod-tools/scripts/cif_ddlm_dic_check: ./cif_pow.dic data_CIF_POW save_PD_MEAS_INFO_AUTHOR: WARNING, attribute '_definition_replaced.by' references the 'AUDIT_AUTHOR' data item that is not defined in the given dictionary.
/github/workspace/cod-tools/scripts/cif_ddlm_dic_check: ./cif_pow.dic data_CIF_POW save_PD_MEAS_INFO_AUTHOR: WARNING, attribute '_definition_replaced.by' references the 'AUDIT_AUTHOR_ROLE' data item that is not defined in the given dictionary.
/github/workspace/cod-tools/scripts/cif_ddlm_dic_check: ./cif_pow.dic data_CIF_POW save_PD_PROC_INFO_AUTHOR: WARNING, attribute '_definition_replaced.by' references the 'AUDIT_AUTHOR' data item that is not defined in the given dictionary.
/github/workspace/cod-tools/scripts/cif_ddlm_dic_check: ./cif_pow.dic data_CIF_POW save_PD_PROC_INFO_AUTHOR: WARNING, attribute '_definition_replaced.by' references the 'AUDIT_AUTHOR_ROLE' data item that is not defined in the given dictionary.
What am I doing wrong here? The checks can find the _audit_author.address
-like dataitems, but not the category to which they belong?
According to the definition of _definition_replaced.by
it is only meant to be used with data items:
Name of the data item that should be used instead of the defined data
item. The defined data item is deprecated and should not be used. A
value of '.' signifies that the data item is deprecated, with no
replacement.
Furthermore, this attribute expects a value of the Tag
data type, that is, a value that starts with an underscore ('_'
).
Must have misinterpreted James' instructions. Ta.
Nice to see an example of the use of _definition.replaced_by where more than one data name is listed.
Will close #113.
The
*.phase_id
and*.diffractogram_id
tags were straight up deleted, as they were only added during this round of additions, and not previously released.