Skip to content
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 “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

remove references to the now delete linkml_runtime.utils.ifabsent_functions #325

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -63,4 +63,4 @@ jobs:
name: codecov-results-${{ matrix.os }}-${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
fail_ci_if_error: true
fail_ci_if_error: false
2 changes: 1 addition & 1 deletion linkml_runtime/linkml_model/json/meta.json
Original file line number Diff line number Diff line change
@@ -2590,7 +2590,7 @@
{
"name": "ifabsent",
"definition_uri": "https://w3id.org/linkml/ifabsent",
"description": "function that provides a default value for the slot. Possible values for this slot are defined in\nlinkml_runtime.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * int(value) -- integer value\n * str(value) -- string value\n * default_range -- schema default range\n * bnode -- blank node identifier\n * slot_uri -- URI for the slot\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class",
"description": "function that provides a default value for the slot.\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * int(value) -- integer value\n * str(value) -- string value\n * default_range -- schema default range\n * bnode -- blank node identifier\n * slot_uri -- URI for the slot\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class",
"from_schema": "https://w3id.org/linkml/meta",
"close_mappings": [
"https://w3id.org/shacl/defaultValue"
8 changes: 8 additions & 0 deletions linkml_runtime/linkml_model/owl/meta.owl.ttl
Original file line number Diff line number Diff line change
@@ -1421,6 +1421,14 @@ linkml:ifabsent a owl:ObjectProperty,
* EnumName(PermissibleValue) -- enum value""" ;
skos:inScheme linkml:meta .

linkml:implements a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "implements" ;
rdfs:domain linkml:Element ;
rdfs:range linkml:Uriorcurie ;
skos:definition "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element." ;
skos:inScheme linkml:meta .

linkml:import_as a owl:ObjectProperty,
linkml:SlotDefinition ;
rdfs:label "import_as" ;
3 changes: 1 addition & 2 deletions linkml_runtime/linkml_model/rdf/meta.model.ttl
Original file line number Diff line number Diff line change
@@ -1228,8 +1228,7 @@ linkml:iec61360code a linkml:SlotDefinition ;

linkml:ifabsent a linkml:SlotDefinition ;
skos:closeMatch sh1:defaultValue ;
skos:definition """function that provides a default value for the slot. Possible values for this slot are defined in
linkml_runtime.utils.ifabsent_functions.default_library:
skos:definition """function that provides a default value for the slot.
* [Tt]rue -- boolean True
* [Ff]alse -- boolean False
* int(value) -- integer value
3 changes: 1 addition & 2 deletions linkml_runtime/linkml_model/rdf/meta.ttl
Original file line number Diff line number Diff line change
@@ -1228,8 +1228,7 @@ linkml:iec61360code a linkml:SlotDefinition ;

linkml:ifabsent a linkml:SlotDefinition ;
skos:closeMatch sh1:defaultValue ;
skos:definition """function that provides a default value for the slot. Possible values for this slot are defined in
linkml_runtime.utils.ifabsent_functions.default_library:
skos:definition """function that provides a default value for the slot.
* [Tt]rue -- boolean True
* [Ff]alse -- boolean False
* int(value) -- integer value
2 changes: 1 addition & 1 deletion linkml_runtime/linkml_model/sqlddl/meta.sql
Original file line number Diff line number Diff line change
@@ -313,7 +313,7 @@
-- * Slot: multivalued Description: true means that slot can have more than one value
-- * Slot: inherited Description: true means that the *value* of a slot is inherited by subclasses
-- * Slot: readonly Description: If present, slot is read only. Text explains why
-- * Slot: ifabsent Description: function that provides a default value for the slot. Possible values for this slot are defined inlinkml_runtime.utils.ifabsent_functions.default_library: * [Tt]rue -- boolean True * [Ff]alse -- boolean False * int(value) -- integer value * str(value) -- string value * default_range -- schema default range * bnode -- blank node identifier * slot_uri -- URI for the slot * class_curie -- CURIE for the containing class * class_uri -- URI for the containing class
-- * Slot: ifabsent Description: function that provides a default value for the slot. * [Tt]rue -- boolean True * [Ff]alse -- boolean False * int(value) -- integer value * str(value) -- string value * default_range -- schema default range * bnode -- blank node identifier * slot_uri -- URI for the slot * class_curie -- CURIE for the containing class * class_uri -- URI for the containing class
-- * Slot: list_elements_unique Description: If True, then there must be no duplicates in the elements of a multivalued slot
-- * Slot: list_elements_ordered Description: If True, then the order of elements of a multivalued slot is guaranteed to be preserved. If False, the order may still be preserved but this is not guaranteed
-- * Slot: shared Description: If True, then the relationship between the slot domain and range is many to one or many to many
Loading