Protocol to extend the schema #89
Replies: 5 comments 5 replies
-
I am very much for |
Beta Was this translation helpful? Give feedback.
-
I actually started transfering the sim workflow.schema but sure, we can put it here. |
Beta Was this translation helpful? Give feedback.
-
Okay, some feedback on the flowchart. A visual representation is indeed very nice, but we should first establish the actual protocol (in writing) before spending time on a visual. You'll end up with 10 versions by the end. Regarding the contents I agree with the spirit. I'd mostly say that some questions are currently too vague. Suggested specifications: Is the section already defined in nomad-simulations?This mostly comes back to my remark on how the dev should go about checking existence. @JosePizarro3 You mentioned something about the docs, right? Did you mean that Area D is working on automatically reading Moreover, I think that only checking nomad-simulations is too reductive: they should check the parser schema (fork tree included), then the simulations schema, and lastly the core NOMAD, in that order. Is your section conceptually related with an existing section?Tbh, this is the vaguest of them all. Having sat through multiple of these discussions, people tend to set the bar very differently. Still, schemas are a different beast from typical classes (again, inheritance does not entail Probably a better approach would be to distinguish when the dev should:
Document your new sections and methods.This applies to both answers... Is Contact nomad-simulations developers: is your section interoperable?We know what interoperable means, but I wouldn't assume our audience does. Verifying interoperability is also time-costly, as it comes down to technical details more so than conceptual ones. I suggest that we instead prepare a place where they can "register" their plugins, if they're interest in sharing + support. They could reach out to us for a migration audit, whenever they think the plugin is mature enough. Btw, going by your diagram semantics, this bubble should be split into a square that points to a circle. |
Beta Was this translation helpful? Give feedback.
-
I agree that at the beginning is preferable in most cases, more so for access to the previous quantities rather than code aesthetics. |
Beta Was this translation helpful? Give feedback.
-
New figure: |
Beta Was this translation helpful? Give feedback.
-
We talked today (@JFRudzinski @Bernadette-Mohr @ndaelman-hu), 21.06.2024, on how to prepare a protocol to extend the current schema. I propose that all the info we agreed about will be transferred to the documentation page, under a "How to extend the Simulations schema".
I think this could be summarized in the next steps:
![NOMAD Simulations - extending the schema](https://private-user-images.githubusercontent.com/112697669/341759749-c370a301-609d-4ced-a119-a80d80d4d1f9.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjU2NjYsIm5iZiI6MTczODgyNTM2NiwicGF0aCI6Ii8xMTI2OTc2NjkvMzQxNzU5NzQ5LWMzNzBhMzAxLTYwOWQtNGNlZC1hMTE5LWE4MGQ4MGQ0ZDFmOS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQwNzAyNDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMmJjM2NkNTcwYzA5ZDc2MGIyNmZmMTVmMmQwNzZhODA1Y2Y1ODBjMzJmZGU1MWNmYjZjZDFlNmIwNWQ1YmZjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.TCMHKAFOhnheCDa7adLV4bcGx1bl8FS4W2usY0iLQWA)
https://docs.google.com/presentation/d/1KRXpcptMz4bZcpkPl4o4Xk2n_uHGWAqOvBDkVB3zuBE/edit?usp=sharing
I hope it is understandable. Regarding other points raised by @ndaelman-hu:
Documentation page. Definitions should be in the
m_def
of each class, but we are waiting for Area D to finish their implementation.Not sure what this means.
I'll say at the beginning to keep the logic clean.
Just want to comment that perhaps
workflow-simulations
should live here, in this same repo. Any thoughts, @JFRudzinski @ladinesa ?Beta Was this translation helpful? Give feedback.
All reactions