Skip to content

Error check on masses outside of the supplied grid for metisse use#784

Merged
TomWagg merged 8 commits into
COSMIC-PopSynth:developfrom
katiebreivik:error-check
May 27, 2026
Merged

Error check on masses outside of the supplied grid for metisse use#784
TomWagg merged 8 commits into
COSMIC-PopSynth:developfrom
katiebreivik:error-check

Conversation

@katiebreivik
Copy link
Copy Markdown
Collaborator

Simple error check in evolve now to confirm that the masses evolved do not fall outside the limits of the tracks.

flipped the order of the changelog

@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 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.16%. Comparing base (8772c07) to head (ba1c7c6).
⚠️ Report is 157 commits behind head on develop.

Files with missing lines Patch % Lines
src/cosmic/evolve.py 0.00% 23 Missing ⚠️
src/cosmic/_version.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #784       +/-   ##
============================================
- Coverage    86.91%   76.16%   -10.75%     
============================================
  Files           40       58       +18     
  Lines        25542    28197     +2655     
  Branches         0      924      +924     
============================================
- Hits         22198    21474      -724     
- Misses        3344     6419     +3075     
- Partials         0      304      +304     

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

@TomWagg
Copy link
Copy Markdown
Collaborator

TomWagg commented May 27, 2026

Looks good!

image

@TomWagg TomWagg merged commit 5919a3f into COSMIC-PopSynth:develop May 27, 2026
4 of 6 checks passed
katiebreivik added a commit to katiebreivik/COSMIC that referenced this pull request May 28, 2026
…OSMIC-PopSynth#784)

* add recurse submodules to Dockerfile

* add minimum and maximum masses for limits checking

* add mass limits error

* version bump

* need to only use m_min if metisse

* clean up stellar engine decisions, avoid copied code, store z_accuracy_limit too

---------

Co-authored-by: Tom Wagg <tomjwagg@gmail.com>
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