Skip to content

Hide BreakingChangeWarning from get_indices_block - #1746

Merged
santisoler merged 2 commits into
mainfrom
hide-breaking-change-warning
Jan 27, 2026
Merged

santisoler merged 2 commits into
mainfrom
hide-breaking-change-warning

Conversation

@santisoler

Copy link
Copy Markdown
Member

Summary

Hide the warning when the function is called within another function. There's nothing actionable that users need to do or know about the get_indices_block function when it's being called from within another function.

PR Checklist

  • If this is a work in progress PR, set as a Draft PR
  • Linted my code according to the style guides.
  • Added tests to verify changes to the code.
  • Added necessary documentation to any new functions/classes following the
    expect style.
  • Marked as ready for review (if this is was a draft PR), and converted
    to a Pull Request
  • Tagged @simpeg/simpeg-developers when ready for review.

Reference issue

Related to the changes introduced in #1713.

What does this implement/fix?

Additional information

Hide the warning when the function is called within another function.
There's nothing actionable that users need to do or know about the
`get_indices_block` function when it's being called from within another
function.
@santisoler santisoler mentioned this pull request Jan 21, 2026
4 tasks
@codecov

codecov Bot commented Jan 21, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.58%. Comparing base (a5b2fdb) to head (8fc5b42).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
simpeg/utils/model_builder.py 66.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1746      +/-   ##
==========================================
- Coverage   81.60%   81.58%   -0.02%     
==========================================
  Files         422      422              
  Lines       55409    55415       +6     
  Branches     5258     5258              
==========================================
- Hits        45214    45213       -1     
- Misses       8791     8795       +4     
- Partials     1404     1407       +3     

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

@santisoler
santisoler marked this pull request as ready for review January 27, 2026 19:37
@santisoler
santisoler merged commit 9703e1f into main Jan 27, 2026
@santisoler
santisoler deleted the hide-breaking-change-warning branch January 27, 2026 19:37
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.

1 participant