Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Feb 7, 2024
1 parent 240f129 commit 7cde1a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions linkml_model/model/schema/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1427,10 +1427,10 @@ slots:
description: coerces the value of the slot into an array and defines the dimensions of that array
status: testing

array_axes:
dimensions:
description: definitions of each axis in the array
domain: array_info_expression
range: array_axis_expression
range: dimension_expression
multivalued: true
inlined: true
status: testing
Expand Down Expand Up @@ -2970,10 +2970,10 @@ classes:
- exact_dimensions
- minimum_dimensions
- maximum_dimensions
- array_axes
- dimensions
status: testing

array_axis_expression:
dimension_expression:
description: defines one of the dimensions of an array
mixins:
- extensible
Expand Down
2 changes: 1 addition & 1 deletion tests/input/examples/schema_definition-native-array-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ classes:
ucum_code: K
array_info:
exact_dimensions: 3
array_axes:
dimensions:
x:
rank: 0
alias: latitude_in_deg
Expand Down
6 changes: 3 additions & 3 deletions tests/input/examples/schema_definition-native-array-rgb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ classes:
array_info:
# NPtyping: NDArray[Shape["* x, * y, 3 rgb"]
exact_dimensions: 3
array_axes:
dimensions:
x:
y:
rgb:
exact_cardinality: 3
description: r, g, b values
annotations:
names: [red, green, blue]
names: "[red, green, blue]"
SquareDataset:
attributes:
square_matrix:
array_info:
exact_dimensions: 2
array_axes:
dimensions:
x:
y:

Expand Down

0 comments on commit 7cde1a3

Please sign in to comment.