Skip to content

Commit

Permalink
Unit fix (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajain-work authored Jul 7, 2022
1 parent 858ef5d commit bf33a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/fluent/visualization/post_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_field_unit(self, field):
if quantity == "*null*":
return ""
scheme_eval_str = f"(units/get-pretty-wb-units-from-dimension (units/inquire-dimension '{quantity}))" # noqa: E501
return self._scheme_str_to_py_list(scheme_eval_str)[0]
return " ".join(self._scheme_str_to_py_list(scheme_eval_str))

def _get_phases(self):
scheme_eval_str = "(map domain-name (get-phase-domains))"
Expand Down

0 comments on commit bf33a26

Please sign in to comment.