Skip to content

Allow for different default units#239

Draft
PreisTo wants to merge 47 commits intothreeML:devfrom
PreisTo:sampling_units
Draft

Allow for different default units#239
PreisTo wants to merge 47 commits intothreeML:devfrom
PreisTo:sampling_units

Conversation

@PreisTo
Copy link
Contributor

@PreisTo PreisTo commented Nov 21, 2025

- created a set_units function to manually set the units used in the analysis (must be called before creating threeML and astromodels objects)

  • added Units dataclass to the config instead of hard-coding the default units

@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 78.00687% with 64 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.84%. Comparing base (3a3d9bf) to head (ba55ce6).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #239      +/-   ##
==========================================
+ Coverage   79.71%   79.84%   +0.12%     
==========================================
  Files          47       47              
  Lines        5927     6123     +196     
==========================================
+ Hits         4725     4889     +164     
- Misses       1202     1234      +32     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ndilalla
Copy link
Contributor

ndilalla commented Dec 2, 2025

@PreisTo Is this PR ready for review or still draft?

@PreisTo
Copy link
Contributor Author

PreisTo commented Dec 2, 2025

@ndilalla that's sadly still a draft - I am still going to need a couple of more days:/

@ndilalla
Copy link
Contributor

ndilalla commented Dec 2, 2025

@ndilalla that's sadly still a draft - I am still going to need a couple of more days:/

No worries at all! I asked because I saw that you requested my review and I wanted to make sure the PR was ready :-)

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