Skip to content

GEOPY-3048: Crash on start_dask_run for 1D inversions - #480

Merged
domfournier merged 9 commits into
developfrom
GEOPY-3048
Sep 28, 2026
Merged

domfournier merged 9 commits into
developfrom
GEOPY-3048

Conversation

@domfournier

@domfournier domfournier commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

GEOPY-3048 - Crash on start_dask_run for 1D inversions

Copilot AI lite review requested due to automatic review settings September 22, 2026 19:09
@github-actions github-actions Bot changed the title GEOPY-3048 GEOPY-3048: Crash on start_dask_run for 1D inversions Sep 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Unresolved critical and moderate findings remain in the 1D driver, and the regression test does not cover the changed entry point.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 1 Medium severity · 1 Low severity

Open (3)
What changed in this PR

GEOPY-3048 updates 1D electromagnetic drivers for Dask startup, restart handling, and DrapeModel/Octree mesh support.

Changes:

  • Adds DrapeModel/Octree-aware mesh construction.
  • Updates Dask argument handling and UI defaults.
  • Expands airborne TEM 1D restart test coverage.
File Summary Final review notes
tests/​run_tests/​driver_airborne_tem_1d_test.py Updates synthetic inversion and restart tests. Nit: does not exercise the changed start_dask_run entry point (2 votes).
simpeg_drivers/​electromagnetics/​base_1d_driver.py Updates mesh handling and Dask startup. Critical signature compatibility issue (2 votes); moderate default normalization issue (2 votes); moderate negative cell-size issue (1 vote).
simpeg_drivers-assets/​uijson/​tdem1d_inversion.ui.json Updates TDEM inversion defaults and mesh types. No final comments.
simpeg_drivers-assets/​uijson/​tdem1d_forward.ui.json Updates TDEM forward defaults and mesh types. No final comments.
simpeg_drivers-assets/​uijson/​fdem1d_inversion.ui.json Updates FDEM inversion defaults and mesh types. No final comments.
simpeg_drivers-assets/​uijson/​fdem1d_forward.ui.json Updates FDEM forward defaults and mesh types. No final comments.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread simpeg_drivers/electromagnetics/base_1d_driver.py
Comment thread simpeg_drivers/electromagnetics/base_1d_driver.py Outdated
Comment thread tests/run_tests/driver_airborne_tem_1d_test.py
domfournier and others added 5 commits September 22, 2026 12:18
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@codecov

codecov Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.45%. Comparing base (b5605a2) to head (dfcd557).

Files with missing lines Patch % Lines
simpeg_drivers/electromagnetics/base_1d_driver.py 53.84% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #480      +/-   ##
===========================================
- Coverage    90.51%   90.45%   -0.06%     
===========================================
  Files          111      111              
  Lines         7095     7105      +10     
  Branches       876      880       +4     
===========================================
+ Hits          6422     6427       +5     
- Misses         454      458       +4     
- Partials       219      220       +1     
Files with missing lines Coverage Δ
simpeg_drivers/electromagnetics/base_1d_driver.py 88.31% <53.84%> (-5.72%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@domfournier
domfournier merged commit 24b4b9e into develop Sep 28, 2026
21 checks passed
@domfournier
domfournier deleted the GEOPY-3048 branch September 28, 2026 15:59
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.

3 participants