-
Notifications
You must be signed in to change notification settings - Fork 46
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
Clarify the representation of (generalized) contractions in docstrings #359
Conversation
Reviewer's Guide by SourceryThis pull request improves the clarity and detail of the docstrings for the Shell and MolecularBasis classes in the iodata/basis.py file. The changes focus on providing a more comprehensive explanation of generalized contractions, including detailed descriptions of attributes, examples, and notes on basis set conventions. File-Level Changes
Tips
|
Here's the code health analysis summary for commits Analysis Summary
|
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.
Hey @tovrstra - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
@PaulWAyers Just a review reminder. I'm planning to YOLO-merge this tomorrow. (I have a branch ready for which this PR needs to be merged first.) |
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.
Thanks @tovrstra
Thanks for reviewing! Merging... |
This PR attempts to fix a task in #256 (It draws some inspiration from #175. I'm trying to improve terminology and naming before continuing with #191.)
I've considered changing some names, but could not come up with anything worthwhile at this stage. For example, I considered renaming
ncon
tongen
for the number of generalized contractions, but the result was less intuitive.I'll YOLO-merge this on Wednesday, July 10, unless reviewed earlier.
Summary by Sourcery
This pull request improves the clarity and detail of the docstrings for the
Shell
andMolecularBasis
classes, providing better explanations of generalized contractions and their attributes.Shell
class to provide a more detailed explanation of generalized contracted Gaussian basis functions, including examples and additional context.angmoms
attribute in theShell
class, explaining the difference between ordinary and generalized contractions.kinds
attribute in theShell
class to specify the shape and normalization assumptions of the coefficients.ncon
property docstring in theShell
class to better describe the concept of generalized contractions and provide examples.MolecularBasis
class to specify that it is a collection of contracted shells.