Skip to content

kwargs protection: analysis, potential & MB modules#1922

Merged
joa-quim merged 1 commit into
masterfrom
kwargs-protect-analysis
Feb 17, 2026
Merged

kwargs protection: analysis, potential & MB modules#1922
joa-quim merged 1 commit into
masterfrom
kwargs-protect-analysis

Conversation

@joa-quim
Copy link
Copy Markdown
Member

Summary

  • Split entry points from main logic in analysis/potential/spotter/MB module wrappers so that kwargs are converted to Dict{Symbol,Any} via init_module in thin wrappers before calling the main function
  • Affected modules: gmtgravmag3d, gravfft, gravprisms, grdgravmag3d, grdseamount, grdrotater, spectrum1d, sphdistance, sphinterpolate, sphtriangulate, splitxyz, trend1d, trend2d, mbgetdata, mbimport, mblevitus, mbsvplist

Test plan

  • All Vd=2 smoke tests pass
  • test_B-GMTs.jl passes (gmtgravmag3d, grdgravmag3d, gravprisms, grdseamount, gravfft)
  • test_P_a_T.jl passes (spectrum1d, sphtriangulate, sphinterpolate, sphdistance, splitxyz, trend1d, trend2d)
  • test_GRDs.jl passes (grdrotater)
  • Actual execution tests pass

🤖 Generated with Claude Code

Split entry points from main logic in analysis/potential/spotter/MB
module wrappers so that kwargs are converted to Dict{Symbol,Any}
via init_module in thin wrappers before calling the main function.

Affected modules: gmtgravmag3d, gravfft, gravprisms, grdgravmag3d,
grdseamount, grdrotater, spectrum1d, sphdistance, sphinterpolate,
sphtriangulate, splitxyz, trend1d, trend2d, mbgetdata, mbimport,
mblevitus, mbsvplist.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 17, 2026

Codecov Report

❌ Patch coverage is 93.33333% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.87%. Comparing base (8913842) to head (ff99d9c).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/potential/gmtgravmag3d.jl 57.14% 3 Missing ⚠️
src/potential/grdseamount.jl 80.00% 1 Missing ⚠️
src/splitxyz.jl 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1922      +/-   ##
==========================================
+ Coverage   85.68%   85.87%   +0.19%     
==========================================
  Files         187      187              
  Lines       27524    27554      +30     
==========================================
+ Hits        23584    23663      +79     
+ Misses       3940     3891      -49     

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

@joa-quim joa-quim merged commit 2734604 into master Feb 17, 2026
5 of 7 checks passed
@joa-quim joa-quim deleted the kwargs-protect-analysis branch February 17, 2026 13:22
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