Skip to content

updated error checking so Evolve.evolve will permit metallicities out…#782

Merged
katiebreivik merged 1 commit into
COSMIC-PopSynth:developfrom
d-maclean:z_fix
May 27, 2026
Merged

updated error checking so Evolve.evolve will permit metallicities out…#782
katiebreivik merged 1 commit into
COSMIC-PopSynth:developfrom
d-maclean:z_fix

Conversation

@d-maclean
Copy link
Copy Markdown
Contributor

I changed a behavior in Evolve.evolve concerning metallicity bounds checking.

Previously, if you supplied binaries with a z < 1e-4 or z > 3e-2, COSMIC would raise an exception due to the SSE boundaries. This change requires that METISSE not be the stellar engine for this exception to be thrown.

…side the SSE range if METISSE is set as stellar engine
@github-actions github-actions Bot added the needs-cmc-review PR touches cosmic core settings and needs CMC review label May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🚨 CMC review requested

This pull request modifies one or more of:

  • src/cosmic/evolve.py
  • src/cosmic/data/cosmic-settings.json (only flagged when category: "bse" key-count changes)

Trigger: evolve file changed, probably needs CMC review

A CMC developer should review this PR to ensure corresponding changes are propagated upstream as needed.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 75.96%. Comparing base (8772c07) to head (e28ac72).
⚠️ Report is 155 commits behind head on develop.

Files with missing lines Patch % Lines
src/cosmic/evolve.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #782       +/-   ##
============================================
- Coverage    86.91%   75.96%   -10.94%     
============================================
  Files           40       58       +18     
  Lines        25542    28279     +2737     
  Branches         0      990      +990     
============================================
- Hits         22198    21482      -716     
- Misses        3344     6492     +3148     
- Partials         0      305      +305     

☔ 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
Copy Markdown
Collaborator

@katiebreivik katiebreivik left a comment

Choose a reason for hiding this comment

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

🙏

@katiebreivik katiebreivik merged commit 12f27cb into COSMIC-PopSynth:develop May 27, 2026
5 of 7 checks passed
@d-maclean d-maclean deleted the z_fix branch May 27, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-cmc-review PR touches cosmic core settings and needs CMC review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants