Skip to content

kwargs protection: grid processing modules#1921

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

kwargs protection: grid processing modules#1921
joa-quim merged 1 commit into
masterfrom
kwargs-protect-grids

Conversation

@joa-quim
Copy link
Copy Markdown
Member

Summary

  • Split entry points from main logic in grid module wrappers so that kwargs are converted to Dict{Symbol,Any} via init_module in thin wrappers before calling the main function
  • Affected modules: grdblend, grdconvert, grdedit, grdfft, grdfill, grdgradient, grdhisteq, grdinterpolate, grdpaste, grdvolume, greenspline, nearneighbor, surface, triangulate, xyz2grd

Test plan

  • All Vd=2 smoke tests pass
  • test_GRDs.jl passes (pre-existing failure on missing cube.nc unrelated)
  • test_P_a_T.jl passes (surface, triangulate, nearneighbor, xyz2grd)
  • Actual execution tests pass

🤖 Generated with Claude Code

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

Affected modules: grdblend, grdconvert, grdedit, grdfft, grdfill,
grdgradient, grdhisteq, grdinterpolate, grdpaste, grdvolume,
greenspline, nearneighbor, surface, triangulate, xyz2grd.

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 90.58824% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.88%. Comparing base (8913842) to head (ca33848).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/grdhisteq.jl 50.00% 2 Missing ⚠️
src/grdedit.jl 85.71% 1 Missing ⚠️
src/grdfill.jl 83.33% 1 Missing ⚠️
src/grdinterpolate.jl 83.33% 1 Missing ⚠️
src/greenspline.jl 83.33% 1 Missing ⚠️
src/nearneighbor.jl 85.71% 1 Missing ⚠️
src/triangulate.jl 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1921      +/-   ##
==========================================
+ Coverage   85.68%   85.88%   +0.19%     
==========================================
  Files         187      187              
  Lines       27524    27552      +28     
==========================================
+ Hits        23584    23663      +79     
+ Misses       3940     3889      -51     

☔ 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 965b005 into master Feb 17, 2026
6 of 7 checks passed
@joa-quim joa-quim deleted the kwargs-protect-grids branch February 17, 2026 13:25
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