Skip to content

Commit 036fc89

Browse files
committed
Revert "Remove debug prints"
This reverts commit f51aba8.
1 parent 32ec6c8 commit 036fc89

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ansys/dpf/core/available_result.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ def __str__(self):
138138
txt += "Units: %s\n" % self.unit
139139
if self.native_location:
140140
txt += "Location: %s\n" % self.native_location
141+
if self.name == "specific_heat":
142+
print(f"Printing {self.name} with {self.qualifiers} and {self.qualifier_labels}")
141143
if self.qualifiers:
142144
txt += "Available qualifier labels:\n"
143145
for label in self.qualifier_labels:

src/ansys/dpf/core/result_info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ def _get_result(self, numres):
429429
qualifiers=qualifiers,
430430
qualifier_labels=qualifier_labels,
431431
)
432+
if name == "specific_heat":
433+
print(f"Build availableresult {name} with:\n{qualifiers}\n{qualifier_labels}")
432434
return available_result.AvailableResult(availableresult)
433435

434436
@property

0 commit comments

Comments
 (0)