Skip to content

Conversation

@domfournier
Copy link
Collaborator

@domfournier domfournier commented Jan 16, 2026

GEOPY-2449 - Create UI and Driver for the classification of EM anomalies

@github-actions github-actions bot changed the title GEOPY-2449 GEOPY-2449: Create UI and Driver for the classification of EM anomalies Jan 16, 2026
@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 71.48289% with 75 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.06%. Comparing base (0c7fa28) to head (1bb0e2a).
⚠️ Report is 26 commits behind head on develop.

Files with missing lines Patch % Lines
simpeg_drivers/plate_simulation/match/driver.py 77.10% 32 Missing and 6 partials ⚠️
simpeg_drivers/driver.py 54.05% 16 Missing and 1 partial ⚠️
simpeg_drivers/plate_simulation/match/uijson.py 0.00% 13 Missing ⚠️
simpeg_drivers/electromagnetics/base_1d_driver.py 36.36% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #335      +/-   ##
===========================================
- Coverage    91.39%   91.06%   -0.34%     
===========================================
  Files          114      117       +3     
  Lines         6216     6400     +184     
  Branches       758      774      +16     
===========================================
+ Hits          5681     5828     +147     
- Misses         342      380      +38     
+ Partials       193      192       -1     
Files with missing lines Coverage Δ
simpeg_drivers/__init__.py 88.88% <ø> (ø)
simpeg_drivers/joint/driver.py 89.76% <ø> (-0.05%) ⬇️
simpeg_drivers/plate_simulation/driver.py 92.59% <100.00%> (+2.66%) ⬆️
simpeg_drivers/plate_simulation/match/options.py 100.00% <100.00%> (ø)
simpeg_drivers/plate_simulation/sweep/driver.py 86.04% <ø> (+3.35%) ⬆️
simpeg_drivers/utils/utils.py 76.29% <100.00%> (+0.10%) ⬆️
simpeg_drivers/electromagnetics/base_1d_driver.py 80.00% <36.36%> (-9.29%) ⬇️
simpeg_drivers/plate_simulation/match/uijson.py 0.00% <0.00%> (ø)
simpeg_drivers/driver.py 84.97% <54.05%> (+1.86%) ⬆️
simpeg_drivers/plate_simulation/match/driver.py 77.10% <77.10%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

with Workspace(self.params.simulation_files[0], mode="r") as ws:
survey = fetch_survey(ws)
if survey.channels is None:
raise GeoAppsError(
Copy link
Contributor

Choose a reason for hiding this comment

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

We are currently using GeoAppsError to re-format errors raised during input validation. We should probably make a distinction between errors we raise during validation and those we raise while executing the driver.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't get what you mean. GeoAppsError is used to return smaller messages to the user, regardless of where it is.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, but we use it to collect validations as well. We should probably use a different Error type for the validation and keep GeoAppsError for these internal checks.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We could, but that requires to change the try: except in the base Driver. You can create a new issue if you think it's important.

benk-mira
benk-mira previously approved these changes Jan 22, 2026
benk-mira
benk-mira previously approved these changes Jan 23, 2026
This reverts commit 834bb6a.

Revert "Re-assign computed list of dask tasks"

This reverts commit 07fc674.
@domfournier domfournier merged commit 8a9f866 into develop Jan 23, 2026
15 of 16 checks passed
@domfournier domfournier deleted the GEOPY-2449 branch January 23, 2026 21:31
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