Skip to content

Conversation

@psavery
Copy link
Collaborator

@psavery psavery commented Oct 28, 2025

This fixes a few issues with multiple texture models. Now, you can have some materials with texture modeling and some without texture modeling. You also no longer have to refine harmonic coefficients for all texture models (you can disable some).

This also sanitizes the material name so that materials may contain a - in them without causing errors in lmfit.

This fixes a few issues with multiple texture models. Now, you
can have some materials with texture modeling and some without
texture modeling. You also no longer have to refine harmonic
coefficients for all texture models (you can disable some).

This also sanitizes the material name so that materials may contain
a `-` in them without causing errors in lmfit.

Signed-off-by: Patrick Avery <[email protected]>
@codecov
Copy link

codecov bot commented Oct 28, 2025

Codecov Report

❌ Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.01%. Comparing base (adae415) to head (896f3a4).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
hexrd/powder/wppf/WPPF.py 75.00% 2 Missing ⚠️
hexrd/powder/wppf/texture.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #848   +/-   ##
=======================================
  Coverage   56.01%   56.01%           
=======================================
  Files         143      143           
  Lines       22010    22017    +7     
=======================================
+ Hits        12328    12333    +5     
- Misses       9682     9684    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@saransh13 saransh13 left a comment

Choose a reason for hiding this comment

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

LGTM

@psavery
Copy link
Collaborator Author

psavery commented Oct 28, 2025

There seems to be an issue with the CI. It seems that the miniconda installer is requiring a newer version of glibc than we have in our docker container.

It's unrelated to this PR, so we will merge anyways. But it's something we'll need to fix in the Linux packaging soon.

@psavery psavery merged commit c1c97a2 into master Oct 28, 2025
8 of 13 checks passed
@psavery psavery deleted the texture-fixes branch October 28, 2025 17:31
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