Skip to content
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

feat: support list indices for sampling #162

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

JPXKQX
Copy link
Member

@JPXKQX JPXKQX commented Dec 19, 2024

This PR addresses that the following command fails when grid_shard_indices is a list of indices.

x = self.data[100:105, :, :, grid_shard_indices]

@JPXKQX JPXKQX self-assigned this Dec 19, 2024
@JPXKQX JPXKQX requested a review from b8raoult December 19, 2024 12:27
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.96%. Comparing base (ddcee7d) to head (c5f92ec).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #162   +/-   ##
========================================
  Coverage    72.96%   72.96%           
========================================
  Files           10       10           
  Lines          825      825           
========================================
  Hits           602      602           
  Misses         223      223           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@b8raoult b8raoult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure that will work for all combinations of zarr (join, concat, etc)

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.

3 participants