Skip to content

Commit

Permalink
Change dimension info to be list, use alias rather than name.
Browse files Browse the repository at this point in the history
Modeling session with Ryan, Ben, Jonny
  • Loading branch information
cmungall committed Feb 7, 2024
1 parent c110bc6 commit 96bc7f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
6 changes: 1 addition & 5 deletions linkml_model/model/schema/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ description: |-
[https://w3id.org/linkml/is_a](https://w3id.org/linkml/is_a)
license: https://creativecommons.org/publicdomain/zero/1.0/
version: 2.0.0

prefixes:
linkml: https://w3id.org/linkml/
Expand Down Expand Up @@ -1432,7 +1431,6 @@ slots:
domain: array_info_expression
range: dimension_expression
multivalued: true
inlined: true
status: testing

minimum_dimensions:
Expand Down Expand Up @@ -2980,10 +2978,8 @@ classes:
- annotatable
- common_metadata
slots:
- name
- rank
- equals_expression
- alias
- equals_expression
- maximum_cardinality
- minimum_cardinality
- exact_cardinality
Expand Down
10 changes: 5 additions & 5 deletions tests/input/examples/schema_definition-native-array-rgb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classes:
# NPtyping: NDArray[Shape["* x, * y, 3 rgb"]
exact_dimensions: 3
dimensions_info:
x:
y:
rgb:
- alias: x
- alias: y
- alias: rgb
exact_cardinality: 3
description: r, g, b values
annotations:
Expand All @@ -38,7 +38,7 @@ classes:
array_info:
exact_dimensions: 2
dimensions_info:
x:
y:
- alias: x
- alias: y


0 comments on commit 96bc7f2

Please sign in to comment.