-
Notifications
You must be signed in to change notification settings - Fork 120
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
Fixed Docstring #3970 #3985
Fixed Docstring #3970 #3985
Conversation
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3985 +/- ##
=======================================
Coverage 81.41% 81.41%
=======================================
Files 182 182
Lines 63306 63306
=======================================
Hits 51542 51542
Misses 11764 11764 |
Co-authored-by: Maxime Rey <[email protected]>
@MaxJPRey PR opened for training purposes :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IreneWoyna @tizianrot @DaveTwyman could someone pick this up please?
We need to finish editing the docstring + the SetupMaxwellTemplate.rst file in the doc.
If needed please ping me :)
Yes, I can finish this off, one of the checks is failing though, I'll message you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please commit these changes
@DaveTwyman checks fail because we didn't finish to work on the docstring and some indentations are wrong |
Extra Line Co-authored-by: Samuel Lopez <[email protected]>
Unneeded Indentation Co-authored-by: Samuel Lopez <[email protected]>
Co-authored-by: Samuel Lopez <[email protected]>
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, I'll add the missing Maxwell solver types as well
MIssing Maxwell solver types added
Spread Maxwell solver names over two lines to obey line length limit
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good
Hi, There was no deep thought behind the dash next to the colon. I've removed it, sounds like text will now be consistent with other parts of docs Co-authored-by: SMoraisAnsys <[email protected]>
@DaveTwyman just a suggestion and based on the training sessions we had, it's better to put a meaningful comment for each commit you make. So far you have pushed all the commits with the same message "update maxwell.py" . It's not a problem but it's better to have a short message related to the change in your commit so it's easier for the review process :) |
The word 'Depending' was proposed instead of 'Based' Co-authored-by: Kathy Pippert <[email protected]>
Solvers no longer grouped in terms of Magnetic and Electric solvers but now alphabetized and with double backticks and quotation marks applied. Co-authored-by: Kathy Pippert <[email protected]>
|
||
.. pprint:: pyaedt.modules.SetupTemplates.MaxwellTransient | ||
.. pprint:: pyaedt.modules.SetupTemplates.Magnetostatic | ||
.. pprint:: pyaedt.modules.SetupTemplates.Electrostatic | ||
.. pprint:: pyaedt.modules.SetupTemplates.EddyCurrent | ||
.. pprint:: pyaedt.modules.SetupTemplates.ElectricTransient | ||
|
||
.. pprint:: pyaedt.modules.SetupTemplates.ACConduction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DaveTwyman please have a look at the doc build checks that fails. It says that in SetupTemplates there are no templates named "ACConduction" or "DCConduction".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gmalinve , Ok, they can be added in the future. Maybe at the same time as adjusting all the other solver templates that reference HFSS. I've removed them for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DaveTwyman did you remove them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gmalinve , I deleted the two lines in Pycharm and then hit commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DaveTwyman as you can see these lines are still here, let me try to do it on my side.
@DaveTwyman if you ever want to try to rewrite your branch history (e.g. changing commit names, squashing commits, do not hesitate to contact me) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed reference to AC and DC Conduction templates
|
||
.. pprint:: pyaedt.modules.SetupTemplates.MaxwellTransient | ||
.. pprint:: pyaedt.modules.SetupTemplates.Magnetostatic | ||
.. pprint:: pyaedt.modules.SetupTemplates.Electrostatic | ||
.. pprint:: pyaedt.modules.SetupTemplates.EddyCurrent | ||
.. pprint:: pyaedt.modules.SetupTemplates.ElectricTransient | ||
|
||
.. pprint:: pyaedt.modules.SetupTemplates.ACConduction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gmalinve , Ok, they can be added in the future. Maybe at the same time as adjusting all the other solver templates that reference HFSS. I've removed them for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this makes sense, I now see this is the maxwell.py file and not the rst file
Close #3970