Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

279 clarify auto adapt #280

Merged
merged 12 commits into from
Mar 24, 2025
Merged

279 clarify auto adapt #280

merged 12 commits into from
Mar 24, 2025

Conversation

olivierilbert
Copy link
Collaborator

  • Remove a1 and shift1 which were useless
  • Apply shift0 when preparing the catalogue. So, shifts0 are always applied when APPLY_SYSSHIFT defined.
  • a0 will be computed when AUTO_ADAPT YES, even if APPLY_SYSSHIFT exist. I tested that a0 are always lower than 0.01 when I applied previously computed offsets with APPLY_SYSSHIFT, which is a nice consistency check.

Raphael Shirley and others added 5 commits March 11, 2025 17:56
@olivierilbert olivierilbert linked an issue Mar 14, 2025 that may be closed by this pull request
Copy link

codecov bot commented Mar 14, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 65.68%. Comparing base (30913b9) to head (9644cad).
Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
src/lib/zphota.cpp 0.00% 4 Missing ⚠️
src/lib/photoz_lib.cpp 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #280      +/-   ##
==========================================
+ Coverage   58.95%   65.68%   +6.73%     
==========================================
  Files          50       50              
  Lines        6478     6458      -20     
  Branches      946      944       -2     
==========================================
+ Hits         3819     4242     +423     
+ Misses       2659     2216     -443     

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

@raphaelshirley raphaelshirley left a comment

Choose a reason for hiding this comment

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

Looks good to me. I suggest merging the other minor changes to process in PR #278 after this is merged and then making a complementary PR in rail_lephare to propagate it after publishing a new version.

@raphaelshirley
Copy link
Member

I think I have process at 100% now and have removed the offsets from the process parameters.

@raphaelshirley
Copy link
Member

I had also forgotton that I implemented this function which allows the user to use absolute paths to "load" a sed list:

def load_sed_list(path_to_list, object_type, absolute_paths=False):

which may be relevant re the absolute path discussion

Copy link
Member

@johannct johannct left a comment

Choose a reason for hiding this comment

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

Let's add the abs path code for a dedicated quick issue/branch, unless the unit tests for it are ready.
Otherwise, it is all good to go I think

@raphaelshirley
Copy link
Member

The load_sed_list is already implemented and tested. I think we may have implemented partly with sharing between bpz and lephare in mind.

@raphaelshirley
Copy link
Member

@olivierilbert Are we good to go?

@olivierilbert olivierilbert merged commit 8e5a474 into main Mar 24, 2025
14 checks passed
@olivierilbert olivierilbert deleted the 279-clarify_auto_adapt branch March 24, 2025 11:11
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.

clarify_auto_adapt
3 participants