-
Notifications
You must be signed in to change notification settings - Fork 2
GEOPY-2449: Create UI and Driver for the classification of EM anomalies #335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is 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
🚀 New features to boost your workflow:
|
| with Workspace(self.params.simulation_files[0], mode="r") as ws: | ||
| survey = fetch_survey(ws) | ||
| if survey.channels is None: | ||
| raise GeoAppsError( |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
GEOPY-2449 - Create UI and Driver for the classification of EM anomalies