Skip to content

Conversation

@fujiisoup
Copy link

For deepening my understandings, I added some tests for your getitem-with-mask locally.
It works perfectly :), but I think we can keep these tests.

def one_test(key):
# key should be a dict
v = self.cls(['x', 'y', 'z'], np.random.randn(4, 5, 6))
actual = v._getitem_with_mask(key)
Copy link
Owner

Choose a reason for hiding this comment

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

This will need a .compute() after it. Currently the tests uses dask fail, because dask does not support assignment.

@fujiisoup
Copy link
Author

I might test in the wrong environment.
Closing without merge as equivalent tests were already added.

@fujiisoup fujiisoup closed this Dec 14, 2017
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.

2 participants