Skip to content

fixing the units for the central BH in CMC#710

Merged
katiebreivik merged 2 commits into
COSMIC-PopSynth:developfrom
carlrodriguez:develop
Aug 19, 2025
Merged

fixing the units for the central BH in CMC#710
katiebreivik merged 2 commits into
COSMIC-PopSynth:developfrom
carlrodriguez:develop

Conversation

@carlrodriguez

Copy link
Copy Markdown
Contributor

Quick fix to make sure the physical units in CMC are correct when including a central massive black hole. Currently the BH is included in the unit conversions to physical units even though the internal code units do not include it. This makes these consistent (both internal code units and physical units are only set by the cluster mass, not including the central BH).

@codecov

codecov Bot commented Jul 17, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.35%. Comparing base (8772c07) to head (d34530e).
⚠️ Report is 113 commits behind head on develop.

Files with missing lines Patch % Lines
src/cosmic/sample/sampler/cmc.py 0.00% 2 Missing ⚠️
src/cosmic/sample/initialcmctable.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #710      +/-   ##
===========================================
- Coverage    86.91%   78.35%   -8.55%     
===========================================
  Files           40       49       +9     
  Lines        25542    27182    +1640     
  Branches         0      903     +903     
===========================================
- Hits         22198    21298     -900     
- Misses        3344     5611    +2267     
- Partials         0      273     +273     

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

fix to the point-mass sampler too
@katiebreivik

Copy link
Copy Markdown
Collaborator

merging this too @carlrodriguez !

@katiebreivik
katiebreivik merged commit fb50fc7 into COSMIC-PopSynth:develop Aug 19, 2025
2 of 4 checks passed
CPiyumal pushed a commit to CPiyumal/COSMIC that referenced this pull request Oct 3, 2025
* fixing the units for the central BH in CMC

* Update cmc.py

fix to the point-mass sampler too
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.

2 participants