-
Notifications
You must be signed in to change notification settings - Fork 7
✨ Add occupancy_tolerance input
#116
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
base: main
Are you sure you want to change the base?
Conversation
| node_site_tolerance = get_input_node(orm.Float, 5E-4) | ||
| node_symprec = get_input_node(orm.Float, 5E-3) |
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.
Where did these go?
| help='If total occupancy of a site is between 1 and occupancy_tolerance, the occupancies will be scaled'\ | ||
| + 'down to 1 (pymatgen only).') |
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.
What in the name of all that is holy is this? Way too many concatenation and continuation characters ^^
| help='If total occupancy of a site is between 1 and occupancy_tolerance, the occupancies will be scaled'\ | |
| + 'down to 1 (pymatgen only).') | |
| help='If total occupancy of a site is between 1 and occupancy_tolerance, the occupancies will be scaled' | |
| 'down to 1 (pymatgen only).') |
| help='The symmetry precision used by SeeKpath for crystal symmetry refinement.') | ||
| spec.input('site_tolerance', valid_type=orm.Float, default=lambda: orm.Float(5E-4), | ||
| help='The fractional coordinate distance tolerance for finding overlapping sites (pymatgen only).') | ||
| spec.input('occupancy_tolerance', valid_type=orm.Float, default=orm.Float(1.0), |
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.
| spec.input('occupancy_tolerance', valid_type=orm.Float, default=orm.Float(1.0), | |
| spec.input('occupancy_tolerance', valid_type=orm.Float, default=lambda: orm.Float(1.0), |
|
Haha, thanks for the review @sphuber! But this PR and the others are still in "draft mode" since I'm still working on revisiting and splitting up #111 into different PRs for clarity. I'm mostly working on #117 because that's the one I really need. Still cleaning up the code there and adding tests, give me a bit of time. 🙃 |
|
haha, my bad, missed the fact it was still in draft. Just thought to return the favor given you have been faithfully reviewing all of my tripe the last few days. I'll await the ping for when it's ready |
No description provided.