Repository navigation
Make dobs a required argument for Data - #1614
Draft
santisoler wants to merge 14 commits into
Draft
santisoler wants to merge 14 commits into
santisoler wants to merge 14 commits into
Conversation
Raise errors when trying to set `Data` properties `dobs`, `noise_floor`, `relative_error`, and `standard_deviation` with arrays that contain `nan`s. Add a new `raise_if_nans` utility function. Add tests to check if errors are raised in `Data`.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1614 +/- ##
==========================================
- Coverage 86.58% 84.87% -1.71%
==========================================
Files 409 409
Lines 52924 52991 +67
Branches 5003 5007 +4
==========================================
- Hits 45822 44976 -846
- Misses 5685 6597 +912
- Partials 1417 1418 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
Author
|
During yesterday's meeting we decided that would be better to make I'm turning this PR into a Draft PR, since it'll need some changes to be made first. |
santisoler
marked this pull request as draft
February 28, 2025 00:42
Data contain nansdobs a required argument for Data
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make
dobsa required argument forDataobjects. Also, raise errors when trying to setDatapropertiesdobs,noise_floor,relative_error, andstandard_deviationwith arrays that containnans orinfs. Add a newraise_if_nansutility function. Add tests to check if errors are raised inData.PR Checklist
expect style.
to a Pull Request
@simpeg/simpeg-developerswhen ready for review.Reference issue
What does this implement/fix?
Additional information