Skip to content

Commit

Permalink
Fix units case in available result
Browse files Browse the repository at this point in the history
  • Loading branch information
rafacanton committed Oct 23, 2023
1 parent 8b0180a commit 93d2e70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ansys/dpf/core/available_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def homogeneity(self):
@property
def unit(self):
"""Unit of the result."""
return self._unit.lower()
return self._unit

@property
def operator_name(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_resultinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_print_available_result_with_qualifiers(cfx_heating_coil, server_type):
Number of components: 1
Dimensionality: scalar
Homogeneity: specific_heat
Units: j/kg*k^-1
Units: J/kg*K^-1
Location: Nodal
Available qualifier labels:""" # noqa: E501
ref2 = "'phase': 2"
Expand Down

0 comments on commit 93d2e70

Please sign in to comment.