-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support for vendor extensions #22
Comments
Interesting suggestion. With the current approach, it would e.g. be possible to include vendor-specific data in the source CIF file, in a custom CIF category. Specific viewers could consider that data without affecting the behavior of other viewers. |
I see, yes some kind data might be amenable to this CIF based approach. I was thinking also about the case where one would want to give extra properties to some objects of the molview hierarchy. For example, the scenario for describing a color scheme as 'color by secondary structure' has been suggested before ( #19 ). But, I completely get the concern with implementing escape hatches in a standard: this may get nasty very quickly... |
Hi @papillot, we have merged initial support for this where a |
Great! That would be super flexible! At the time I wrote this, we were envisioning MVS as a kind of universal storage for a custom viewer (probably based on NGL) with the capability of generating scenes from different sources (the viewer itself but also CLI tools). I'll close this issue as fixed as I think the |
I understand that the whole point of the project is to be vendor agnostic, but let's say that a given vendor would like to store extra elements in a spec file, is there a way to ensure that the file is still compliant with the specs?
One use case of such an extension mechanism, would be the CommonChem JSON format, which has an
extension
property which may contain vendor specific datahttps://github.com/CommonChem/CommonChem/blob/master/spec.md#extension-object
The text was updated successfully, but these errors were encountered: