Skip to content

Commit f1cada3

Browse files
committed
CHORE: Bump version to 0.10.1
1 parent 8431990 commit f1cada3

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
55
[project]
66
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
77
name = "ansys-units"
8-
version = "0.10.0"
8+
version = "0.10.1"
99
description = "Pythonic interface for units, unit systems, and unit conversions."
1010
readme = "README.rst"
1111
requires-python = ">=3.10,<3.14"

scripts/generate_variable_descriptor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
("CELL_ZONE_TYPE", "Dimensions()"),
125125
("PARTITION_NEIGHBOURS", "Dimensions()"),
126126
("STORED_CELL_PARTITION", "Dimensions()"),
127+
("STORED_CELL_PARTITIION", "Dimensions()"), # deprecated typo TODO remove
127128
],
128129
}
129130

src/ansys/units/variable_descriptor/_generated_variable_descriptor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,3 +740,4 @@ class mesh:
740740
CELL_ZONE_TYPE = ScalarVariableDescriptor(Dimensions())
741741
PARTITION_NEIGHBOURS = ScalarVariableDescriptor(Dimensions())
742742
STORED_CELL_PARTITION = ScalarVariableDescriptor(Dimensions())
743+
STORED_CELL_PARTITIION = ScalarVariableDescriptor(Dimensions())

src/ansys/units/variable_descriptor/variable_descriptor.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,3 @@ def add(
196196
descriptor = VariableDescriptor(dimension)
197197
descriptor.__set_name__(target, variable)
198198
setattr(target, variable, descriptor)
199-
200-
201-
# Add custom descriptors
202-
VariableCatalogBase.add(
203-
"STORED_CELL_PARTITIION", Dimensions(), "mesh"
204-
) # deprecated typo

0 commit comments

Comments
 (0)