Skip to content

Issue/86/config bug#87

Merged
raphaelshirley merged 15 commits into
mainfrom
issue/86/config_bug
Jun 10, 2026
Merged

Issue/86/config bug#87
raphaelshirley merged 15 commits into
mainfrom
issue/86/config_bug

Conversation

@raphaelshirley

@raphaelshirley raphaelshirley commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Problem & Solution Description (including issue #)

closes #86

Removes some minor issues relating to updated config values being

lepahre.ZSTEP etc

rather than a lephare_config param which is a dictionary. I presume that RAIL does not want dictionaries as params.

I need to update the notebooks to work with this.

Code Quality

  • My code follows the code style of this project
  • I have written unit tests or justified all instances of #pragma: no cover; in the case of a bugfix, a new test that breaks as a result of the bug has been added
  • My code contains relevant comments and necessary documentation for future maintainers; the change is reflected in applicable demos/tutorials (with output cleared!) and added/updated docstrings use the NumPy docstring format
  • Any breaking changes, described above, are accompanied by backwards compatibility and deprecation warnings

Raphael Shirley added 12 commits January 29, 2026 18:07
It is not added to inform so you need to make the reddening factors outside RAIL to use it at present.
This branch will depend on merging the functionality into the main LePHARE code and implementign
the reddening calculation in teh c++ lops for speed
This cannot be merged until the corresponding branch is merged on LePHARE. We compute reddening in inform
and put it in the model. Alternatively the user can supply a numpy array file containing teh reddening values
change to data store is main change.
Still not sure about insisting on dictionaries being lephare.ZSTEP
@raphaelshirley raphaelshirley requested a review from johannct May 27, 2026 13:45
@raphaelshirley

Copy link
Copy Markdown
Collaborator Author

Before find a longer term solution @johannct it would be good to merge this and release as currently the notebooks are not running following the config updates.

Raphael Shirley added 2 commits May 27, 2026 15:55
@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.54839% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.85%. Comparing base (5accd3b) to head (9f05943).

Files with missing lines Patch % Lines
src/rail/estimation/algos/lephare.py 93.54% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   93.45%   92.85%   -0.60%     
==========================================
  Files           2        2              
  Lines         168      168              
==========================================
- Hits          157      156       -1     
- Misses         11       12       +1     

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

@johannct johannct left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ok for now, but really we need to understand the code....

@johannct johannct self-requested a review May 27, 2026 18:32

@johannct johannct left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

still failing..... No crash but the filter stage only shows six filters

@raphaelshirley

Copy link
Copy Markdown
Collaborator Author

Can I merge @johannct ? It is only a couple of minor things but it would be good to merge so the notebooks run.

@johannct johannct left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ok let's get that in though it is ugly

@raphaelshirley raphaelshirley merged commit 7072a39 into main Jun 10, 2026
5 checks passed
@raphaelshirley raphaelshirley deleted the issue/86/config_bug branch June 10, 2026 11:52
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.

updated config format requires changes to examples

3 participants