Skip to content

Commit

Permalink
fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-ji committed Aug 21, 2024
1 parent 57e99e0 commit 4010af3
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions schema/api/v1.0.0/codegen/api_models_materialized.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1173,8 +1173,8 @@ classes:
inlined_as_list: true
object_id:
name: object_id
description: Gene Ontology Cellular Component identifier for the annotation
object
description: Gene Ontology Cellular Component OR UniProt identifier for the
annotation object
from_schema: cdp-api-models
exact_mappings:
- cdp-common:annotation_object_id
Expand Down
4 changes: 2 additions & 2 deletions schema/api/v2.0.0/codegen/api_models_materialized.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1592,8 +1592,8 @@ classes:
inlined_as_list: true
object_id:
name: object_id
description: Gene Ontology Cellular Component identifier for the annotation
object
description: Gene Ontology Cellular Component OR UniProt identifier for the
annotation object
from_schema: cdp-api
exact_mappings:
- cdp-common:annotation_object_id
Expand Down
4 changes: 2 additions & 2 deletions schema/core/v1.1.0/codegen/metadata_materialized.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2621,8 +2621,8 @@ classes:
attributes:
id:
name: id
description: Gene Ontology Cellular Component identifier for the annotation
object
description: Gene Ontology Cellular Component OR UniProt identifier for the
annotation object
from_schema: metadata
exact_mappings:
- cdp-common:annotation_object_id
Expand Down
2 changes: 1 addition & 1 deletion schema/core/v1.1.0/codegen/metadata_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2512,7 +2512,7 @@ class AnnotationObject(ConfiguredBaseModel):

id: str = Field(
...,
description="""Gene Ontology Cellular Component identifier for the annotation object""",
description="""Gene Ontology Cellular Component OR UniProt identifier for the annotation object""",
json_schema_extra={
"linkml_meta": {
"alias": "id",
Expand Down
2 changes: 1 addition & 1 deletion schema/core/v1.1.0/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ slots:
- range: GO_ID
- range: UNIPROT_ID
required: true
description: Gene Ontology Cellular Component identifier for the annotation object
description: Gene Ontology Cellular Component OR UniProt identifier for the annotation object
annotation_object_name:
range: string
required: true
Expand Down
2 changes: 1 addition & 1 deletion schema/core/v2.0.0/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ slots:
- range: GO_ID
- range: UNIPROT_ID
required: true
description: Gene Ontology Cellular Component identifier for the annotation object
description: Gene Ontology Cellular Component OR UniProt identifier for the annotation object
annotation_object_name:
range: string
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2508,7 +2508,7 @@ class AnnotationObject(ConfiguredBaseModel):

id: str = Field(
...,
description="""Gene Ontology Cellular Component identifier for the annotation object""",
description="""Gene Ontology Cellular Component OR UniProt identifier for the annotation object""",
json_schema_extra={
"linkml_meta": {
"alias": "id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
"type": "string"
}
],
"description": "Gene Ontology Cellular Component identifier for the annotation object",
"description": "Gene Ontology Cellular Component OR UniProt identifier for the annotation object",
"pattern": "(^GO:[0-9]{7}$)|(^UniProtKB:[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2}+$)"
},
"name": {
Expand Down

0 comments on commit 4010af3

Please sign in to comment.