-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add item to "existing JSON efforts" #18
Comments
Also worth mentioning schema.org, http://schema.org/docs/schemas.html and their extensions for specialized applications. If the intent is to create a standard, schema.org might have some good inspiration, and might be worth getting the QC schema listed as an extension. They define a vocabulary, not a file format, though JSON-LD is supported. |
There's also http://esl.cecam.org/ESCDF_-_Electronic_Structure_Common_Data_Format which is not JSON at all, but is a serious attempt to create standards for some of the larger files produced by electronic structure codes, which might also be good for inspiration for what fields to include. |
Thank you for the very helpful links. I would like to link your representations on the main page, do you happen to have documentation links or examples of your Structure or Molecule JSON? I didn't realize CECAM had the ESCDF project, I will have to reach out to them. Thanks for the tip! |
Examples are easiest to obtain via the Material Project's API, but I'll include two below. This is a Structure (NiO):
The And this is a Molecule (methane):
Molecules and Structures are very similar: the Structure is basically a Molecule with periodicity added. Molecules are collections of Sites, Structures are collections of PeriodicSites with a Lattice defined. In general, if you're pursuing a new standard, it would be really nice to see support for both periodic crystals and isolated molecules. In a few places, I've seen tools or code that are designed solely for molecules and then, later, when support for periodic crystals needs to be added, it's very difficult to add support. This is just personal experience, but I think having support for periodicity in mind from the start is really helpful, and makes the standard more transferrable. |
The Materials Project software stack (including atomate for workflow generation, fireworks for running workflows/workflow management, pymatgen for analysis) makes heavy use of JSON -- any class that subclasses
MSONable
has a JSON representation. This includesStructure
(periodic crystals) andMolecule
classes in pymatgen, as well as the workflows themselves and calculation outputs.I'm not sure if this is relevant to the current effort, since atomate is primarily used for inorganic materials at present, and is quite general and not quantum chemistry-specific, but I thought it'd be worth adding to the list in case it's of interest to anyone here.
The text was updated successfully, but these errors were encountered: