Skip to content

Commit 679341d

Browse files
authored
Fix/result info available qualifier labels (#942)
* Fix property available_qualifier_labels * Add a small test * Update tests/test_resultinfo.py
1 parent f5172bf commit 679341d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/ansys/dpf/core/result_info.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,7 @@ def available_qualifier_labels(self):
415415
Available with server's version starting at 5.0.
416416
"""
417417
coll_obj = collection.StringCollection(
418-
collection=self._support_api.result_info_get_available_qualifier_labels_as_string_coll(
419-
self
420-
),
418+
collection=self._api.result_info_get_available_qualifier_labels_as_string_coll(self),
421419
server=self._server,
422420
)
423421
return coll_obj.get_integral_entries()

tests/test_resultinfo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from ansys.dpf.core import Model
55
from conftest import SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0
66

7-
87
if SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0:
98
mechanical = "mechanical"
109
else:

0 commit comments

Comments
 (0)