[Openchemistry-developers] ChemicalJSON key capitalization

Ian Daniher ian at nonolithlabs.com
Wed Jun 13 13:25:10 EDT 2012


If you're going to have "inchi" instead of "InChI", you might as well go
all the way. It'd be great to see line 68 of chemjsonfileformat.cpp fixed.

On Wed, Jun 13, 2012 at 12:08 PM, Marcus D. Hanwell <
marcus.hanwell at kitware.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/openchemistry-developers/attachments/20120613/c7b217da/attachment.html>


More information about the Openchemistry-developers mailing list