From bf33a26a1a90a11139c43617451f8890dc741faf Mon Sep 17 00:00:00 2001 From: Aseem Jain <95020968+ajain-work@users.noreply.github.com> Date: Thu, 7 Jul 2022 14:53:12 +0530 Subject: [PATCH] Unit fix (#61) --- src/ansys/fluent/visualization/post_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/fluent/visualization/post_helper.py b/src/ansys/fluent/visualization/post_helper.py index 4e0cf274..4401dc5b 100644 --- a/src/ansys/fluent/visualization/post_helper.py +++ b/src/ansys/fluent/visualization/post_helper.py @@ -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))"