Skip to content

Conversation

@psavery
Copy link
Collaborator

@psavery psavery commented Aug 8, 2025

The material names cannot contain '-' when being used as lmfit parameters, or else an error occurs.

Partially fixes: HEXRD/hexrdgui#1891

The material names cannot contain '-' when being used as lmfit
parameters, or else an error occurs.

Partially fixes: HEXRD/hexrdgui#1891

Signed-off-by: Patrick Avery <[email protected]>
@psavery psavery requested a review from saransh13 August 8, 2025 19:56
psavery added a commit to HEXRD/hexrdgui that referenced this pull request Aug 8, 2025
The material names cannot contain '-' when being used as lmfit
parameters, or else an error occurs.

Depends on: HEXRD/hexrd#827
Fixes: #1891

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

codecov bot commented Aug 8, 2025

Codecov Report

❌ Patch coverage is 67.85714% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.26%. Comparing base (3060f50) to head (af38fbf).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
hexrd/wppf/wppfsupport.py 72.22% 5 Missing ⚠️
hexrd/wppf/phase.py 60.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #827      +/-   ##
==========================================
+ Coverage   49.24%   49.26%   +0.02%     
==========================================
  Files         144      144              
  Lines       23286    23307      +21     
==========================================
+ Hits        11467    11483      +16     
- Misses      11819    11824       +5     

☔ 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 psavery merged commit 96dc69b into master Aug 11, 2025
9 of 10 checks passed
@psavery psavery deleted the wppf-sanitize-material-names branch August 11, 2025 16:51
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.

sanitize material name

3 participants