[Openchemistry-developers] ChemicalJSON key capitalization
Marcus D. Hanwell
marcus.hanwell at kitware.com
Wed Jun 13 13:08:51 EDT 2012
Hi Ian,
On Wed, Jun 13, 2012 at 10:44 AM, Ian Daniher <ian at nonolithlabs.com> wrote:
> I'm writing about a quirk that's been bugging me in your chemjson / 'cjson'
> format.
>
> This is perhaps illustrated best by example.
> Check https://gist.github.com/2924447 for three "ethane.json" files, the
> first, the ChemicalJSON format from the openchemistry wiki. The second is
> the abbreviated entry from the ChEBI.json
> (http://github.com/itdaniher/PyChEBI) project. The third is the ChEBI
> (mostly) converted to Chemical JSON.
>
> The issue that's been bugging me is that the third is an invalid Chemical
> JSON object due to the case-sensitive nature of the "Chemical JSON" version
> key. It would be awfully nice if I could standardize the key cases to either
> First Letter Capitalized or all lowercase.
>
Perhaps all lowercase would be most appropriate. We are still
developing this, but looking at the other identifiers that would be
the best for consistency, and I would hate to make things any more
difficult than they have to be due to capitalization.
Marcus
More information about the Openchemistry-developers
mailing list