You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
default_intrinsics doesn't return correct values.
In this specific case:
I'd expect this to return both Freq and Phase values both only returns Phase.
This is due to the latest refactoring of props.
When code reaches this line:
for i in self._app.design_solutions.intrinsics:
if i == "Freq" and "Frequency" in self.props:
self.props is empty.
The check should be carried out on self.properties -> "Solution Freq".
Add a new elif check:
if i == "Freq" and "Solution Freq" in self.properties:
intr[i] = self.properties["Solution Freq"]
Steps To Reproduce
Simply call: hfss.setups[0].default_intrinsics
Which Operating System are you using?
Windows
Which Python version are you using?
3.8
Installed packages
all
The text was updated successfully, but these errors were encountered:
Before submitting the issue
Description of the bug
default_intrinsics doesn't return correct values.
In this specific case:
I'd expect this to return both Freq and Phase values both only returns Phase.
This is due to the latest refactoring of props.
When code reaches this line:
self.props is empty.
The check should be carried out on self.properties -> "Solution Freq".
Add a new elif check:
Steps To Reproduce
Simply call:
hfss.setups[0].default_intrinsics
Which Operating System are you using?
Windows
Which Python version are you using?
3.8
Installed packages
all
The text was updated successfully, but these errors were encountered: