schrodinger.application.models.datamodels.metadata module¶
- class schrodinger.application.models.datamodels.metadata.ModelMetadata(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParamMetadata common to all model definitions and configurations.
- name: str¶
A parameter of the class.
- model_id: str¶
A parameter of the class.
- description: str¶
A parameter of the class.
- docstring: str¶
A parameter of the class.
- version: str¶
A parameter of the class.
- creator: str¶
A parameter of the class.
- model_owner: str¶
A parameter of the class.
- last_editor: str¶
A parameter of the class.
- date_edited: datetime¶
A parameter of the class.
- date_created: datetime¶
A parameter of the class.
- initializeValue()¶
Override to dynamically set up the default value of the param. Useful for default values that are determined at runtime. This is called any time the param is reset.
- recordCreation() None¶
Update metadata to reflect that the model was created.
- recordEdit() None¶
Update metadata to reflect that the model was edited.
- touch() None¶
Update metadata to reflect that the model was just edited. Replicates the Unix touch command.
- generateNewVersion() None¶
Generate a new unique version string for this model.
- generateNewId() None¶
Generate a new unique ID for this model metadata.
- creatorChanged¶
A
pyqtSignalemitted by instances of the class.
- creatorReplaced¶
A
pyqtSignalemitted by instances of the class.
- date_createdChanged¶
A
pyqtSignalemitted by instances of the class.
- date_createdReplaced¶
A
pyqtSignalemitted by instances of the class.
- date_editedChanged¶
A
pyqtSignalemitted by instances of the class.
- date_editedReplaced¶
A
pyqtSignalemitted by instances of the class.
- descriptionChanged¶
A
pyqtSignalemitted by instances of the class.
- descriptionReplaced¶
A
pyqtSignalemitted by instances of the class.
- docstringChanged¶
A
pyqtSignalemitted by instances of the class.
- docstringReplaced¶
A
pyqtSignalemitted by instances of the class.
- last_editorChanged¶
A
pyqtSignalemitted by instances of the class.
- last_editorReplaced¶
A
pyqtSignalemitted by instances of the class.
- model_idChanged¶
A
pyqtSignalemitted by instances of the class.
- model_idReplaced¶
A
pyqtSignalemitted by instances of the class.
- model_ownerChanged¶
A
pyqtSignalemitted by instances of the class.
- model_ownerReplaced¶
A
pyqtSignalemitted by instances of the class.
- nameChanged¶
A
pyqtSignalemitted by instances of the class.
- nameReplaced¶
A
pyqtSignalemitted by instances of the class.
- versionChanged¶
A
pyqtSignalemitted by instances of the class.
- versionReplaced¶
A
pyqtSignalemitted by instances of the class.