-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Clean up backend indexing some more #10376
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
base: main
Are you sure you want to change the base?
Conversation
for k, v in self._variables.items(): | ||
v = v.copy(deep=True) | ||
res[k] = v | ||
v._data = indexing.LazilyIndexedArray(v._data) |
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.
Harmonizes this test backend with all the other backends
@@ -190,7 +190,7 @@ def ds(self): | |||
def open_store_variable(self, name, var): | |||
return Variable( | |||
var.dimensions, | |||
ScipyArrayWrapper(name, self), | |||
indexing.LazilyIndexedArray(ScipyArrayWrapper(name, self)), |
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.
harmonized with the other backends
8564e74
to
11fec41
Compare
4f01391
to
1e40376
Compare
123d5e2
to
275330d
Compare
275330d
to
0ed11f5
Compare
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.
Awesome @dcherian !
The docs failure looks like it might be catching something real though
Extension error:
--
2043 | Cell raised uncaught exception:
2044 | �[31mAttributeError�[39m�[31m:�[39m '_ElementwiseFunctionArray' object has no attribute 'transpose'
Harmonizes some internal code paths to make the async work less painful (#10327).
Closes #8909
Closes #8921
I added a new CI with only scipy as the optional dependency to prevent regressing on #8909
I'll add comments for the remaining changes