omnipy.components.isa.models.comment_schema
ISA model representing a comment in an investigation.
ISA means Investigation/Study/Assay, and ISA-JSON uses JSON-LD keys such as @id and
@type.
-
Reference
Code reference
omnipy
components
-
isa-
IsaAssayJsonSchemacomments -
IsaDataSchemacomments -
IsaFactorSchemacomments -
IsaFactorValueSchemacomments -
IsaInvestigationSchemacomments -
IsaMaterialAttributeValueSchemacomments -
IsaMaterialSchemacomments -
IsaOntologyReferenceSchemacomments -
IsaOntologySourceReferenceSchemacomments -
IsaPersonSchemacomments -
IsaProcessOrProtocolApplicationSchemacomments -
IsaProcessParameterValueSchemacomments -
IsaProtocolParameterSchemacomments -
IsaProtocolSchemacomments -
IsaPublicationSchemacomments -
IsaSampleSchemacomments -
IsaSourceSchemacomments -
IsaStudyGroupSchemacomments -
IsaStudySchemacomments
-
-
isa
models
-
assay_schemaIsaAssayJsonSchemacomments -
data_schemaIsaDataSchemacomments -
factor_schemaIsaFactorSchemacomments -
factor_value_schemaIsaFactorValueSchemacomments -
investigation_schemaIsaInvestigationSchemacomments -
material_attribute_value_schemaIsaMaterialAttributeValueSchemacomments -
material_schemaIsaMaterialSchemacomments -
ontology_annotation_schemaIsaOntologyReferenceSchemacomments -
ontology_source_reference_schemaIsaOntologySourceReferenceSchemacomments -
person_schemaIsaPersonSchemacomments -
process_parameter_value_schemaIsaProcessParameterValueSchemacomments -
process_schemaIsaProcessOrProtocolApplicationSchemacomments -
protocol_parameter_schemaIsaProtocolParameterSchemacomments -
protocol_schema -
publication_schemaIsaPublicationSchemacomments -
sample_schemaIsaSampleSchemacomments -
source_schemaIsaSourceSchemacomments -
study_groupIsaStudyGroupSchemacomments -
study_schemaIsaStudySchemacomments
-
-
| CLASS | DESCRIPTION |
|---|---|
FieldType |
JSON-LD type labels used for ISA comment entities. |
IsaCommentModel |
Omnipy model wrapper for ISA comment entries. |
IsaCommentSchema |
Schema for comments attached to ISA objects. |
FieldType
Bases: Enum
flowchart BT
omnipy.components.isa.models.comment_schema.FieldType[FieldType]
click omnipy.components.isa.models.comment_schema.FieldType href "" "omnipy.components.isa.models.comment_schema.FieldType"
JSON-LD type labels used for ISA comment entities.
| ATTRIBUTE | DESCRIPTION |
|---|---|
Comment |
Marks a JSON object as an ISA comment.
|
- Reference Code reference omnipy components
Source code in src/omnipy/components/isa/models/comment_schema.py
IsaCommentModel
Bases: Model[IsaCommentSchema]
flowchart BT
omnipy.components.isa.models.comment_schema.IsaCommentModel[IsaCommentModel]
omnipy.data.model.Model[Model]
omnipy.data._mixins.display.ModelDisplayMixin[ModelDisplayMixin]
omnipy.data._mixins.display.BaseDisplayMixin[BaseDisplayMixin]
omnipy.data._data_class_creator.DataClassBase[DataClassBase]
omnipy.data.model.Model --> omnipy.components.isa.models.comment_schema.IsaCommentModel
omnipy.data._mixins.display.ModelDisplayMixin --> omnipy.data.model.Model
omnipy.data._mixins.display.BaseDisplayMixin --> omnipy.data._mixins.display.ModelDisplayMixin
omnipy.data._data_class_creator.DataClassBase --> omnipy.data.model.Model
omnipy.util.pydantic.GenericModel --> omnipy.data.model.Model
click omnipy.components.isa.models.comment_schema.IsaCommentModel href "" "omnipy.components.isa.models.comment_schema.IsaCommentModel"
click omnipy.data.model.Model href "" "omnipy.data.model.Model"
click omnipy.data._mixins.display.ModelDisplayMixin href "" "omnipy.data._mixins.display.ModelDisplayMixin"
click omnipy.data._mixins.display.BaseDisplayMixin href "" "omnipy.data._mixins.display.BaseDisplayMixin"
click omnipy.data._data_class_creator.DataClassBase href "" "omnipy.data._data_class_creator.DataClassBase"
Omnipy model wrapper for ISA comment entries.
Wraps :class:IsaCommentSchema so comments can be used as nested Omnipy
models in ISA documents.
-
Reference
Code reference
omnipy
components
-
isa-
IsaAssayJsonSchemacomments -
IsaDataSchemacomments -
IsaFactorSchemacomments -
IsaFactorValueSchemacomments -
IsaInvestigationSchemacomments -
IsaMaterialAttributeValueSchemacomments -
IsaMaterialSchemacomments -
IsaOntologyReferenceSchemacomments -
IsaOntologySourceReferenceSchemacomments -
IsaPersonSchemacomments -
IsaProcessOrProtocolApplicationSchemacomments -
IsaProcessParameterValueSchemacomments -
IsaProtocolParameterSchemacomments -
IsaProtocolSchemacomments -
IsaPublicationSchemacomments -
IsaSampleSchemacomments -
IsaSourceSchemacomments -
IsaStudyGroupSchemacomments -
IsaStudySchemacomments
-
-
isa
models
-
assay_schemaIsaAssayJsonSchemacomments -
data_schemaIsaDataSchemacomments -
factor_schemaIsaFactorSchemacomments -
factor_value_schemaIsaFactorValueSchemacomments -
investigation_schemaIsaInvestigationSchemacomments -
material_attribute_value_schemaIsaMaterialAttributeValueSchemacomments -
material_schemaIsaMaterialSchemacomments -
ontology_annotation_schemaIsaOntologyReferenceSchemacomments -
ontology_source_reference_schemaIsaOntologySourceReferenceSchemacomments -
person_schemaIsaPersonSchemacomments -
process_parameter_value_schemaIsaProcessParameterValueSchemacomments -
process_schemaIsaProcessOrProtocolApplicationSchemacomments -
protocol_parameter_schemaIsaProtocolParameterSchemacomments -
protocol_schema -
publication_schemaIsaPublicationSchemacomments -
sample_schemaIsaSampleSchemacomments -
source_schemaIsaSourceSchemacomments -
study_groupIsaStudyGroupSchemacomments -
study_schemaIsaStudySchemacomments
-
-
Source code in src/omnipy/components/isa/models/comment_schema.py
IsaCommentSchema
flowchart BT
omnipy.components.isa.models.comment_schema.IsaCommentSchema[IsaCommentSchema]
omnipy.util.pydantic.BaseModel --> omnipy.components.isa.models.comment_schema.IsaCommentSchema
click omnipy.components.isa.models.comment_schema.IsaCommentSchema href "" "omnipy.components.isa.models.comment_schema.IsaCommentSchema"
Schema for comments attached to ISA objects.
| ATTRIBUTE | DESCRIPTION |
|---|---|
name |
Comment key or label.
TYPE:
|
value |
Comment text associated with
TYPE:
|
- Reference Code reference
| CLASS | DESCRIPTION |
|---|---|
Config |
Validation settings for ISA comment schema parsing. |
Source code in src/omnipy/components/isa/models/comment_schema.py
field_context
class-attribute
instance-attribute
field_type
class-attribute
instance-attribute
Config
Validation settings for ISA comment schema parsing.
| ATTRIBUTE | DESCRIPTION |
|---|---|
extra |
Rejects unknown keys in input data.
|
use_enum_values |
Emits enum members as raw value strings.
|