-
Notifications
You must be signed in to change notification settings - Fork 871
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
Clean up core.surface
comments and docstrings
#3691
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
i can only assign members of MP to issues or people who've commented on issues. so if you leave a comment i could assign you. but given the 1st issue has been open since Oct 23, i don't see a high risk of other people working on it |
I think it should be fine. People should see this PR being linked to those issues. Thanks for the help. But I'm afraid this would take some time as it seems I would need to clean up the entire |
Can you please review this? @janosh. Sorry I'm making this PR overly large, but I don't expect functional changes within this PR (mostly cleaning up of comment/docstring/namings). And I would also expect (multiple) follow up PRs, as I did find some issues (all tagged, you could search |
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.
Actionable comments posted: 3
core.surface
core.surface
comments and docstrings
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.
And I would also expect (multiple) follow up PRs, as I did find some issues (all tagged, you could search
@DanielYang59
to find tags). And I think it would be easier to view the difference if I separate them with this PR.
thanks a lot for polishing this module! doc string improvements are great for helping usability
Thanks a lot for reviewing and capture those issues. This really took me a lot of energy but I'm now much much familiar with the module, which should hugely facilitate future functional tweaks. |
@janosh @DanielYang59 I think this PR may have removed the definition of |
Hi @ftherrien thanks for asking. It's now renamed to
pymatgen/src/pymatgen/core/surface.py Lines 1226 to 1232 in b28c937
|
Ah! Thanks so much that makes a lot of sense |
All good! Thanks for asking and happy coding! |
Summary
Major clean up of
core.surface
, I decide to split this task into two for readability: this PR to revise comments/docstrings with some relocation of code. Another follow up PR for functional changes/fixes.Non-breaking changes
Slab
andSlabGenerator
TODOs:
core.surface
andcore.structure
site
andpoint
insurface.Slab
, currently a mixture of both is used and might be confusingqueen
unit test from Clean up test files: dedicated VASP directories,xyz
,mcif
,cssr
,exciting
,wannier90
#3681