The man page for cif-validate says:
“you can specify multiple dictionaries by concatenating their names separated by a semicolon”
|
\fB--dict\fR=<file> |
|
The mmCIF dictionary file to use. The default is \fImmcif_pdbx.dic\fR. |
|
.sp |
|
Note that you can specify multiple dictionaries by concatenating their names |
|
separated by a semicolon, like this: \fI--dict='mmcif_pdbx.dic;dssp-extension.dic'\fR |
However, the current implementation of cif-validate seems to only accept a single dictionary string:
|
if (config.count("dict")) |
|
db.set_validator(&cif::validator_factory::instance().get(config.get<std::string>("dict"))); |
|
else |
|
db.load_dictionary(); |
|
|
|
if (db.get_validator() == nullptr) |
|
db.set_validator(&cif::validator_factory::instance().get("mmcif_pdbx.dic")); |
When I try this call:
cif-validate file.cif --dict='mmcif_pdbx.dic;dssp-extension.dic'
I get this error:
Dictionary not found or defined (mmcif_pdbx.dic;dssp-extension.dic)
Is multiple-dictionary support actually implemented and I am using it incorrectly, or is the man page documenting a feature that is not yet available?
The man page for
cif-validatesays:cif-tools/doc/cif-validate.1
Lines 19 to 23 in 958ae21
However, the current implementation of
cif-validateseems to only accept a single dictionary string:cif-tools/src/cif-validate.cpp
Lines 114 to 120 in 958ae21
When I try this call:
cif-validate file.cif --dict='mmcif_pdbx.dic;dssp-extension.dic'I get this error:
Is multiple-dictionary support actually implemented and I am using it incorrectly, or is the man page documenting a feature that is not yet available?