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

OptimalPropeller function cleanup #1846

Merged
merged 13 commits into from
Jan 13, 2023

Conversation

aidanjungo
Copy link
Contributor

@aidanjungo aidanjungo commented Dec 9, 2022

Proposed Changes

I used the OptimalPropeller function for another project a saw a lot of code that could be cleanup in order to be a bit more pythonic and easy to read.

Related Work

  • no

PR Checklist

Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

@pcarruscag
Copy link
Member

Welcome to SU2 and thank you for your contribution. Is there something else you want to do in this PR? If not, please have a look at the CodeQL alert and then we can merge.

@aidanjungo
Copy link
Contributor Author

Hello, sorry last week I did not had time to continue to work on it. If it is OK for you, I will make a few other changes between today and tomorrow, that could improve the code and then I think we could merge it.

@aidanjungo aidanjungo changed the title [WIP] OptimalPropeller function cleanup OptimalPropeller function cleanup Dec 19, 2022
@aidanjungo
Copy link
Contributor Author

@pcarruscag could you run the workflow again, I made some small modifications, but now I cannot see the CodeQL alert anymore

SU2_PY/OptimalPropeller.py Fixed Show resolved Hide resolved
Copy link
Contributor

@WallyMaier WallyMaier left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@pcarruscag pcarruscag left a comment

Choose a reason for hiding this comment

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

Add yourself to AUTHORS.md (in the root of the repo) please

@pcarruscag pcarruscag merged commit 39512d4 into su2code:develop Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants