Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CIF development strategies


Brian

	Its not too difficult to write a cif-reader for correctly formed
cifs, but there are an infinity of ways in which users can foul then up
with 'just a small edit'. In an ideal world, users would not manually edit
cifs, but they do, and the resulting files can be difficult to debug even
using the excelent tools at Chester and elsewhere. 

	Can I re-propose two ideas I made several years ago which may help
reduce the problems of tinkering.

1	Permit the user to add new versions of existing data items or
loops AT THE END if the cif, the later version supplanting the
earlier. This would enable changes to be made without fiddling with the
body of the file.

2 Authorise a 'resychronise' directive which could be inserted anywhere in
the file, and would instruct the parser to close all opened
block-structures (loops, quoted strings etc), and continue processing. The
same effect can be obtained (more or less) by dividing a file into bits in
an attempt to find an offending item, but that in itself introduces the
possibility of making even more errors.

		Best wishes
					David



Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.