Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 4, 2024
1 parent b15de6f commit fe207b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ def update(
def inherit(self) -> DataTree:
"""
Returns a copy of this node additionally containing all coordinates that can be inherited from parent nodes.
Inspired by the CF conventions' "search by proximity" [1]_.
References
Expand All @@ -993,7 +993,7 @@ def find_compatible_variables(
explicit_coords=list(candidate_variables.keys())
combine_attrs="override",
)

# TODO this will call merge for every parent up to the root. Is there an alternative design which only calls merge once?

# TODO use _MergeResult instead?
Expand Down

0 comments on commit fe207b5

Please sign in to comment.