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

Stacking fault wppf #626

Merged
merged 22 commits into from
Apr 6, 2024
Merged

Stacking fault wppf #626

merged 22 commits into from
Apr 6, 2024

Conversation

saransh13
Copy link
Member

  • Add stacking fault probability, $\alpha$ and twin probability, $\beta$ to the wppf module.
  • Made the particle size and micro strain terms phase dependent.
  • Removed anisotropic broadening, Xe and Ye for simplification.

@saransh13 saransh13 requested a review from psavery April 3, 2024 18:20
@pep8speaks
Copy link

pep8speaks commented Apr 3, 2024

Hello @saransh13! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 457:25: E221 multiple spaces before operator
Line 462:25: E122 continuation line missing indentation or outdented
Line 572:25: E221 multiple spaces before operator
Line 577:25: E122 continuation line missing indentation or outdented
Line 1982:25: E221 multiple spaces before operator

Line 264:9: E128 continuation line under-indented for visual indent
Line 478:9: E128 continuation line under-indented for visual indent
Line 532:23: E231 missing whitespace after ','
Line 532:25: E231 missing whitespace after ','
Line 532:28: E231 missing whitespace after ','
Line 575:18: E128 continuation line under-indented for visual indent
Line 575:20: E231 missing whitespace after ','
Line 575:25: E231 missing whitespace after ','
Line 619:18: E128 continuation line under-indented for visual indent
Line 619:20: E231 missing whitespace after ','
Line 619:25: E231 missing whitespace after ','
Line 672:23: E231 missing whitespace after ','
Line 672:25: E231 missing whitespace after ','
Line 672:28: E231 missing whitespace after ','
Line 728:18: E128 continuation line under-indented for visual indent
Line 728:20: E231 missing whitespace after ','
Line 728:25: E231 missing whitespace after ','
Line 784:20: E128 continuation line under-indented for visual indent
Line 784:23: E231 missing whitespace after ','
Line 784:25: E231 missing whitespace after ','
Line 784:28: E231 missing whitespace after ','

Line 248:32: E231 missing whitespace after ','
Line 255:33: E231 missing whitespace after ','
Line 273:23: E221 multiple spaces before operator
Line 276:27: E221 multiple spaces before operator
Line 349:51: W291 trailing whitespace
Line 355:23: E231 missing whitespace after ','
Line 365:21: E201 whitespace after '('
Line 365:53: E202 whitespace before ')'
Line 970:32: E231 missing whitespace after ','
Line 977:33: E231 missing whitespace after ','
Line 995:23: E221 multiple spaces before operator
Line 998:27: E221 multiple spaces before operator

Line 76:1: E302 expected 2 blank lines, found 1
Line 86:6: E128 continuation line under-indented for visual indent
Line 87:6: E128 continuation line under-indented for visual indent
Line 88:6: E124 closing bracket does not match visual indentation
Line 167:1: E302 expected 2 blank lines, found 1
Line 174:49: W291 trailing whitespace
Line 452:1: W293 blank line contains whitespace

Comment last updated at 2024-04-05 23:48:34 UTC

Copy link
Collaborator

@psavery psavery left a comment

Choose a reason for hiding this comment

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

Overall, code looks good to me. I'm assuming you tested it 🙂

hexrd/fitting/peakfunctions.py Outdated Show resolved Hide resolved
hexrd/wppf/WPPF.py Show resolved Hide resolved
hexrd/wppf/WPPF.py Show resolved Hide resolved
hexrd/wppf/WPPF.py Outdated Show resolved Hide resolved
hexrd/wppf/peakfunctions.py Outdated Show resolved Hide resolved
hexrd/wppf/phase.py Outdated Show resolved Hide resolved
@saransh13 saransh13 merged commit ef6bf2a into master Apr 6, 2024
6 checks passed
@psavery psavery deleted the stacking-fault-wppf branch May 1, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants