[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: Robert Hanson <hansonr@stolaf.edu>
To: Forum for CIF software developers <cif-developers@iucr.org>
Sent: Monday, 22 May 2017, 11:07
Subject: Re: CIF-JSON draft 2017-05-15
Reply to: [list | sender only]
Re: CIF-JSON draft 2017-05-15
- Subject: Re: CIF-JSON draft 2017-05-15
- From: SIMON WESTRIP <simonwestrip@xxxxxxxxxxxxxx>
- Date: Mon, 22 May 2017 12:08:15 +0000 (UTC)
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=s2048;t=1495455143; bh=H6/z0NQK6Jm2Lynbd/bBFi2+LqXL4RjhSliEvNp47so=;h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject;b=cvW02vBXfzwmbbtCPZwqv0XhOH9aj+5YfxJeb3MAuULxxh4qzvH79DCsbMxc4KrfMq3dzMHPFnvy3WKoV72sqGuspLnCF8cuQCb0Qh+oJN6ZjZ7g+yk27ezm2voVbMYui8flqpjXfm2naJbr/kP2k3zNwZgExt8ah2MTb0OEFAqI5Y9Hcya2bjvf0eCWmhkIqaeJKkdRzw1CR1s4KtDI37l4T3aVRABICjA1LRUWH1yIUEY8Fh1tnbGB9lhRY0A9Sed4FJ9A5rWUCbC0m/6dUvdf+0qKfgPcjROFU/wbGgcYWztIzIgq4wkG5+kws4nWCRrmiwGXX5BK89hzc3FjVA==
- In-Reply-To: <CAF_YUvVGSe_Riww3yM5JMZSWs0EJjedY1+b+ayJEfOPT-CE4AQ@mail.gmail.com>
- References: <CAM+dB2cAAY3CjC741WU0GqaWmAi2iGHtwZ82iA1bCwuNoG6nQg@mail.gmail.com><CAF_YUvVa0JXgAN9Bec6fjd6Nmco5W7EHWLN=Ba=daRR9U-2PzQ@mail.gmail.com><CACaHzQVYeOfS9zTe4gDJMVNCTgxtat0zhMAd2EMX=etXj5g2Gw@mail.gmail.com><CAF_YUvWV3huhwoBuCOkKXqCcYH+8kjFCPjoa=j_v61JC4H32Jg@mail.gmail.com><CAF_YUvUMbVz2j5=XXD5WD3G+0XB4tY=r1zwXuADB14qQNZTPvg@mail.gmail.com><CAF_YUvXPj9g6CEnsKmwZwrp7p550nyykrnQY9iN5wpEnDzrrYQ@mail.gmail.com><CAF_YUvUaJM0bwV4vKZwARQw4Q44LN+TOyr4Ghge3P_qn90tUHQ@mail.gmail.com><CAF_YUvUGexW-7iSfJWQ_c=WZNnbzBJeFaNfzKRVK4DKmdydp+A@mail.gmail.com><CAM+dB2dY8xEp8BeSJfXD5E9+H6-qkBCodMV_gc-fetLNp=x_WA@mail.gmail.com><CAF_YUvU+O3yb-JG_zZWvTW0i7EuzA1_J3c0Q8drWqb6rScSkEw@mail.gmail.com><CAF_YUvWT4ZGT_BbpmB2G3Ya7ttzj70qXD7UofyAsPb010W_XJw@mail.gmail.com><CAF_YUvXb4jbKxSh=Q9Q76Zay-RMi8xXU_geQ5FB76cj5iozkOQ@mail.gmail.com><CAF_YUvW01EL98PYcAq0fADvF9BK6oJTdhe4Ju9byg5x5bmGc2Q@mail.gmail.com><CAM+dB2fz+Y45c+Cgk7BABsSPQB2FKe9JxX2j+fRgPC+ehh-ddw@mail.gmail.com><CAF_YUvWnEq0XsQCUhh3bis=vukuf3BQF=QxGi8HS5rTpc4uvkw@mail.gmail.com><CACaHzQUhG8ndiKBSX3OeB=vkn3pu+DugJ=wCEz8podKstFsQZA@mail.gmail.com><CAF_YUvUhv1Li3b-oLkASzq7SnV734WEozPWnMMcHAbVhOcT_Jg@mail.gmail.com><CACaHzQXm3Lti+cP_mQDFnkPdN1ia=--RmGTnPOOyYqP3doJTZw@mail.gmail.com><CAF_YUvXi_UgN9Fc+MATbP-ROKyG31fjcc4HcoS7UEs+2jh3CYA@mail.gmail.com><CAF_YUvXYCLN8gAjDZndba1UCgsgvRTavHKJR28VqAG2Hh4xSVQ@mail.gmail.com><CAM+dB2cjf2EoR3o6MtLHBqRirBzgPSG5iz+eYEK5qtbiMy5Acw@mail.gmail.com><D9E3F175030713438B5B5883ABA5812B7515B767@mail03.ccdc.cam.ac.uk><CAF_YUvVGSe_Riww3yM5JMZSWs0EJjedY1+b+ayJEfOPT-CE4AQ@mail.gmail.com>
Dear CIF-JSON developers
I have been following your discussions with interest (mainly because I've been converting CIF->JSON for a number of years now, with various levels of fidelity dependent on purpose).
With regard to the concatenation issue, I think it worth bearing in mind that simple concatenation as adopted by the CCDC (understandably) will perhaps have to be abandoned at some time in the future in any case, simply because one should not mix CIF1 and CIF2 in the same file (I have very recently had to write a 'catCIF' tool, which currently converts CIF1 to CIF2 if any of the individual CIFs are CIF2).
Fortunately, CIF-JSON supports both CIF1 and 2 from the outset (i.e. syntax differences not really relevant), and round-tripping is *not* supported by CIF-JSON, so this is not really an issue for CIF-JSON.
Cheers
Simon
S. P. Westrip
From: Robert Hanson <hansonr@stolaf.edu>
To: Forum for CIF software developers <cif-developers@iucr.org>
Sent: Monday, 22 May 2017, 11:07
Subject: Re: CIF-JSON draft 2017-05-15
On Mon, May 22, 2017 at 3:29 AM, Matthew Towler <towler@ccdc.cam.ac.uk> wrote:
As the CCDC’s treatment of concatenation appears to be of repeated interest for this thread I felt I should comment. Yes, this is exactly what the CCDC does. In practice only a small number of structures usually appear in one file, and names tend to vary, so the odds of a name collision are really quite lowand I am unaware we have had significant feedback that this is causing any problem for users.
Actually, this is not true. When the files from supplemental material are combined, each has "data_1" in it. At least for this example: https://www.ccdc.cam.ac.uk/structures/search?pid=ccdc:1514731-1514735&issn=1463-9076&year=2017&pages=2900-2907&volume=19&id=doi:10.1039/c6cp07552e&sid=RSC
Maybe this is just a failure in the publication process at RSC to properly compose the CIF files. For in each one we see something like this:
data_1
_audit_block_doi 10.5517/ccdc.csd.cc1mv6f3
_database_code_depnum_ccdc_archive 'CCDC 1514735'
data_1
_audit_block_doi 10.5517/ccdc.csd.cc1mv6f3
_database_code_depnum_ccdc_archive 'CCDC 1514735'
instead of
data_1514735
_audit_block_doi 10.5517/ccdc.csd.cc1mv6f3
_database_code_depnum_ccdc_archive 'CCDC 1514735'
data_1514735
_audit_block_doi 10.5517/ccdc.csd.cc1mv6f3
_database_code_depnum_ccdc_archive 'CCDC 1514735'
Anyway, I suggest thatCIF-JSON needs to have an alternative mechanism to concatenate files, as I have indicated.
_______________________________________________
cif-developers mailing list
cif-developers@iucr.org
http://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers
cif-developers mailing list
cif-developers@iucr.org
http://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers
_______________________________________________ cif-developers mailing list cif-developers@iucr.org http://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers
Reply to: [list | sender only]
- References:
- CIF-JSON draft 2017-05-15 (James Hester)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Marcin Wojdyr)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (James Hester)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (James Hester)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Marcin Wojdyr)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Marcin Wojdyr)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (James Hester)
- RE: CIF-JSON draft 2017-05-15 (Matthew Towler)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Prev by Date: Re: CIF-JSON draft 2017-05-15
- Next by Date: Re: CIF-JSON draft 2017-05-22
- Prev by thread: Re: CIF-JSON draft 2017-05-15
- Next by thread: Re: CIF-JSON draft 2017-05-15
- Index(es):