Skip to content

Commit

Permalink
Merge pull request #212 from linkml/codespell-updates
Browse files Browse the repository at this point in the history
Codespell inspired spelling fixes
  • Loading branch information
cmungall authored Jan 31, 2025
2 parents 33e7281 + fcd02b9 commit 0239345
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions linkml_model/model/schema/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ slots:
description: the refinement of a slot in the context of the containing class definition.
comments:
- >-
Many slots may be re-used across different classes, but the meaning of the slot may be refined by context.
Many slots may be reused across different classes, but the meaning of the slot may be refined by context.
For example, a generic association model may use slots subject/predicate/object with generic semantics and
minimal constraints. When this is subclasses, e.g. to disease-phenotype associations then slot usage may
specify both local naming (e.g. subject=disease) and local constraints
Expand Down Expand Up @@ -2159,7 +2159,7 @@ slots:
expansion.
Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations
by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of
by parsing denormalized strings into complex objects (b) GENERATE: implement automated to_string labeling of
complex objects
For example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot
Expand Down
8 changes: 4 additions & 4 deletions linkml_model/sqlddl/meta.sql
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
-- * Slot: last_updated_on Description: time at which the element was last updated
-- * Slot: modified_by Description: agent that modified the element
-- * Slot: status Description: status of the element
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERATE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: name Description: the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.
-- * Slot: definition_uri Description: the "native" URI of the element
-- * Slot: conforms_to Description: An established standard to which the element conforms.
Expand Down Expand Up @@ -164,7 +164,7 @@
-- * Slot: last_updated_on Description: time at which the element was last updated
-- * Slot: modified_by Description: agent that modified the element
-- * Slot: status Description: status of the element
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERATE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: name Description: the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.
-- * Slot: definition_uri Description: the "native" URI of the element
-- * Slot: conforms_to Description: An established standard to which the element conforms.
Expand Down Expand Up @@ -362,7 +362,7 @@
-- * Slot: last_updated_on Description: time at which the element was last updated
-- * Slot: modified_by Description: agent that modified the element
-- * Slot: status Description: status of the element
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERATE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: name Description: the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.
-- * Slot: definition_uri Description: the "native" URI of the element
-- * Slot: conforms_to Description: An established standard to which the element conforms.
Expand Down Expand Up @@ -420,7 +420,7 @@
-- * Slot: last_updated_on Description: time at which the element was last updated
-- * Slot: modified_by Description: agent that modified the element
-- * Slot: status Description: status of the element
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: string_serialization Description: Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERATE: implement automated to_string labeling of complex objectsFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm
-- * Slot: name Description: the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.
-- * Slot: definition_uri Description: the "native" URI of the element
-- * Slot: conforms_to Description: An established standard to which the element conforms.
Expand Down
4 changes: 2 additions & 2 deletions tests/input/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ slots:
description: the refinement of a slot in the context of the containing class definition.
comments:
- >-
Many slots may be re-used across different classes, but the meaning of the slot may be refined by context.
Many slots may be reused across different classes, but the meaning of the slot may be refined by context.
For example, a generic association model may use slots subject/predicate/object with generic semantics and
minimal constraints. When this is subclasses, e.g. to disease-phenotype associations then slot usage may
specify both local naming (e.g. subject=disease) and local constraints
Expand Down Expand Up @@ -1857,7 +1857,7 @@ slots:
expansion.
Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations
by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of
by parsing denormalized strings into complex objects (b) GENERATE: implement automated to_string labeling of
complex objects
For example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot
Expand Down

0 comments on commit 0239345

Please sign in to comment.