Skip to content
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

Hfss argument refactoring #4481

Merged
merged 40 commits into from
Apr 15, 2024
Merged

Hfss argument refactoring #4481

merged 40 commits into from
Apr 15, 2024

Conversation

Samuelopez-ansys
Copy link
Member

No description provided.

maxcapodi78 and others added 5 commits April 9, 2024 18:02
Delete deprecated methods with more than 2 0.x. releases
# Conflicts:
#	pyaedt/application/Analysis.py
#	pyaedt/application/Analysis3DLayout.py
#	pyaedt/hfss.py
#	pyaedt/icepak.py
#	pyaedt/maxwell.py
#	pyaedt/mechanical.py
#	pyaedt/modules/SolveSweeps.py
#	pyaedt/q3d.py
#	pyaedt/rmxprt.py
@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@Samuelopez-ansys Samuelopez-ansys added the maintenance Package and maintenance related label Apr 10, 2024
Copy link
Contributor

@Devin-Crawford Devin-Crawford left a comment

Choose a reason for hiding this comment

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

The changes will greatly improve readability. It looks like there may have been some accidental changes to other argument names - not sure.

SMoraisAnsys
SMoraisAnsys previously approved these changes Apr 15, 2024
Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

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

LGTM, really huge refactoring.
I left a minor comment to be complient with previous statement.

Notes:

  • would it make sense to use f-strings here ? I can give you a hand if you want.
  • great thing that some old deprecated methods got removed !

@Samuelopez-ansys
Copy link
Member Author

@SMoraisAnsys Which cases do you refer to regarding f-strings? We can replace them, but maybe could be in a different pull request.

@Devin-Crawford
Copy link
Contributor

Devin-Crawford commented Apr 15, 2024

@SMoraisAnsys Which cases do you refer to regarding f-strings? We can replace them, but maybe could be in a different pull request.

Probably best to wait for an official end of support for Python 2.7 (IronPython).

Copy link
Contributor

@Devin-Crawford Devin-Crawford left a comment

Choose a reason for hiding this comment

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

LGTM.

@SMoraisAnsys
Copy link
Collaborator

You are right @dcrawforAtAnsys, hopefully this will happen soon 😄

@Samuelopez-ansys Samuelopez-ansys merged commit b45cf01 into main Apr 15, 2024
15 checks passed
@Samuelopez-ansys Samuelopez-ansys deleted the hfss_argument_refactoring branch April 15, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants