Skip to content

Fix concat empty objects#72

Merged
atrabattoni merged 4 commits into
devfrom
fix/concat-empty
Jun 1, 2026
Merged

Fix concat empty objects#72
atrabattoni merged 4 commits into
devfrom
fix/concat-empty

Conversation

@atrabattoni

Copy link
Copy Markdown
Contributor

Summary

  • Fix concat raising an error when passed empty DataArray or DataCollection objects
  • Fix a bug in DataCollection.sel and add tests for it
  • Update release notes and docstrings

Changes

  • xdas/core/routines.py: handle empty inputs in concat
  • xdas/coordinates/interp.py, xdas/coordinates/sampled.py: related edge case fixes
  • tests/test_routines.py, tests/test_datacollection.py: new tests covering the above
  • docs/release-notes.md: updated

@atrabattoni atrabattoni merged commit 69dd7fb into dev Jun 1, 2026
8 checks passed
@atrabattoni atrabattoni deleted the fix/concat-empty branch June 1, 2026 14:51
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.

1 participant