This repository was archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Add path to error message in map_over_subtree #264
Merged
TomNicholas
merged 20 commits into
xarray-contrib:main
from
TomNicholas:error_context_map_over_subtree
Oct 24, 2023
Merged
Changes from 3 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3ee67fe
test
TomNicholas f367f0f
implementation
TomNicholas 688dc4a
formatting
TomNicholas 333a4e9
add version check, if not using 3.11 then you just won't get the extr…
TomNicholas b603cd6
whatsnew
TomNicholas cce673d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] bfb4fbd
Merge branch 'main' into error_context_map_over_subtree
TomNicholas 1adc58a
Merge branch 'main' into error_context_map_over_subtree
TomNicholas 5a1b8b1
use better helper function
TomNicholas f41cd95
xfail test, because this does actually work...
TomNicholas b449c9c
Merge branch 'error_context_map_over_subtree' of https://github.com/T…
TomNicholas 6c72798
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] fc59b0e
clean up after bad merge
TomNicholas eb4a38e
Merge branch 'error_context_map_over_subtree' of https://github.com/T…
TomNicholas 479c74a
Merge branch 'main' into error_context_map_over_subtree
TomNicholas 33efed1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a50b7f6
re-enable feature after stupid merge
TomNicholas 5da9479
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7e8aea1
formatting
TomNicholas 2a9b510
Merge branch 'error_context_map_over_subtree' of https://github.com/T…
TomNicholas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
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.
Adding notes to exceptions is a new feature in python 3.11.
Perhaps we should wait before merging this? If I understand xarray's deprecation policy correctly then 3.11 will only be the minimum supported version of python 24 months after 3.11 is released, which is 12 months from now...
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.
you could use a helper for this: