Skip to content

Handling Maxwell Circuit Variables #1046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 15, 2022
Merged

Handling Maxwell Circuit Variables #1046

merged 4 commits into from
Apr 15, 2022

Conversation

maxcapodi78
Copy link
Collaborator

No description provided.

maxcapodi78 added 2 commits April 15, 2022 14:19
# Conflicts:
#	_unittest/test_09_VariableManager.py
#	pyaedt/application/Design.py
@codecov
Copy link

codecov bot commented Apr 15, 2022

Codecov Report

Merging #1046 (db2ab81) into main (c7b9c2a) will increase coverage by 0.01%.
The diff coverage is 96.15%.

@@            Coverage Diff             @@
##             main    #1046      +/-   ##
==========================================
+ Coverage   80.36%   80.38%   +0.01%     
==========================================
  Files         132      132              
  Lines       40496    40552      +56     
==========================================
+ Hits        32545    32598      +53     
- Misses       7951     7954       +3     

val_units = self._odesign.GetVariableValue(variable_name)
val, units = decompose_variable_value(val_units)
try:
float(val)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxcapodi78 I am not sure it is mandatory as we are returning the expression the line after.

Suggested change
float(val)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure either.... I'll check better

@maxcapodi78 maxcapodi78 merged commit e5289df into main Apr 15, 2022
@maxcapodi78 maxcapodi78 deleted the Fix_Issue1037 branch April 15, 2022 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants