-
Notifications
You must be signed in to change notification settings - Fork 54
Templates stored within Polymer #293
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 &ld 8000 quo;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
Comments
Closing as no change is needed and current behavior does provide useful information. The full set of templates makes it easy to re-run monomer matching. |
I think we should implement this, the serialized polymers take a lot of space and the meeko distribution contains the default templates anyway. |
@diogomart Can you implement this? I’ve thought about this, but I don’t know which attr will be used and how. I understand both are useful. If you can explain how you want this to be done (which one to keep, which one to remove) I can do the work |
Do you want polymer to have the set of templates it was prepared with? This might be different from the default, and might be useful to replicate the preparation for a new polymer or for the edited polymer |
That's a great point that the polymer might have been prepared with non-defaults. The
Yes, I'll work on this, don't worry about it. It's low priority. But please still post your concerns about functionality we might be missing by implementing this. |
Hi @diogomart
Yes, I thought the full set would be useful if we want to re-parameterize this polymer, or to parameterize another polymer with the same exact set of templates, but I don't know if that's important and I agree that the object might be too big and not worth saving.
Not at the moment. I don't have a very clear visibility into where these attributes might be used outside of the library functions, so I’ll leave them as-is for now. |
residue_chem_templates (ResidueChemTemplates) is an attribute of Polymer. The residue chem templates can be read from and written to JSON. Currently it includes a full set of available templates that has been loaded during the construction.
For each Monomer, there is also a
template
attribute but it is not a JSON-bound property (not exported to JSON or imported from JSON of a polymer).Based on discussion we had today, we might want to re-evaluate whether we want and which templates to store with polymer. For templates generated during construction, this attribute serves as a useful cache. For templates that didn't match, retaining them may not be necessary.
The text was updated successfully, but these errors were encountered: