[Cod-bugs] special characters (0x1b, 0x07) in CIF files

Marcin Wojdyr wojdyr at gmail.com
Tue Dec 10 13:13:42 EET 2019


Hi,

I downloaded COD a few days ago and I noticed that some files fail to parse
for me because of special characters, most ESC. Below is the full list.
For example:
_diffrn_radiation_type           MoK^[$B%(^[(Ba
(but ^[ is ESC code 0x07 in the file)

Do you know what program writes these characters?

Cheers,
Marcin

$ time find ../cod/cif/ -name \*.cif | xargs -n1000 ./build/gemmi validate
../cod/cif/4/08/93/4089313.cif:58:36(2271): parse error
../cod/cif/4/08/93/4089312.cif:58:36(2274): parse error
../cod/cif/4/08/93/4089320.cif:119:39(4625): parse error
../cod/cif/4/08/93/4089309.cif:59:36(2363): parse error
../cod/cif/4/08/93/4089306.cif:59:36(2380): parse error
../cod/cif/4/08/93/4089318.cif:54:33(2044): expected value
../cod/cif/4/08/93/4089319.cif:55:33(2098): expected value
../cod/cif/4/08/93/4089317.cif:58:36(2284): parse error
../cod/cif/4/08/93/4089311.cif:59:36(2370): parse error
../cod/cif/4/08/93/4089315.cif:58:36(2276): parse error
../cod/cif/4/08/93/4089314.cif:58:36(2275): parse error
../cod/cif/4/08/93/4089307.cif:59:36(2366): parse error
../cod/cif/4/08/93/4089310.cif:59:36(2370): parse error
../cod/cif/4/08/93/4089316.cif:58:36(2293): parse error
../cod/cif/4/08/93/4089308.cif:59:36(2357): parse error
../cod/cif/4/08/97/4089713.cif:60:33(2289): expected value
../cod/cif/7/12/54/7125471.cif:68:36(2652): parse error
../cod/cif/7/12/54/7125469.cif:70:36(2706): parse error

real 13m47.423s
user 10m38.349s
sys 0m38.298s

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.crystallography.net/pipermail/cod-bugs/attachments/20191210/60597da1/attachment.html>


More information about the Cod-bugs mailing list