Skip to content

Support keywords on material cards#61

Merged
paulromano merged 3 commits intomainfrom
material-keywords
Nov 29, 2025
Merged

Support keywords on material cards#61
paulromano merged 3 commits intomainfrom
material-keywords

Conversation

@paulromano
Copy link
Contributor

The material card in MCNP allows a number of keywords to be specified. They can be given anywhere on the card so long as they don't separate a nuclide/density pair (i.e., "92235 NLIB=80c 0.02" is not allowed). This PR allows these keywords to be parsed correctly, although they are otherwise ignored.

Closes #40

@codecov
Copy link

codecov bot commented Nov 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.23%. Comparing base (5926b50) to head (458a63a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   87.06%   87.23%   +0.17%     
==========================================
  Files           3        3              
  Lines         742      752      +10     
  Branches      197      198       +1     
==========================================
+ Hits          646      656      +10     
  Misses         52       52              
  Partials       44       44              

☔ 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.

@paulromano paulromano merged commit aa881ed into main Nov 29, 2025
3 checks passed
@paulromano paulromano deleted the material-keywords branch December 9, 2025 20:45
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.

Add support for default libraries in material definitions.

1 participant