Uh oh!
There was an error while loading. Please reload this page.
Fix exception when display_expand_data=False for file-backed array. - #5235
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: keewis <keewis@users.noreply.github.com>
Co-authored-by: keewis <keewis@users.noreply.github.com>
keewis
left a comment
There was a problem hiding this comment.
apparently, the memory cached array has to be bigger than 1e5 to be displayed as [xyz values with dtype=DTYPE], so we can either keep the test as is or increase the size. Not sure which is better, but in any case, the repr still is a single line. Thoughts, @pydata/xarray?
If we decide that we don't need to check for the repr for bigger arrays, this can be merged as soon as we stop loading the data into memory.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
keewis
commented
May 5, 2021
once we get the CI to pass, this should be ready for merging. Just note that I'm not entirely sure about the size of the test array. |
tomwhite
commented
May 5, 2021
This is now passing. We could add more tests or even change the representation a little in some cases, but it would be good to merge for the release (since it fixes a bug) if it looks OK to you @keewis. |
I agree, this looks ready. We classified this as a release blocker so it will definitely be part of the release. Before merging I'd like to have another maintainer look over this, though, to check my decisions. |
* upstream/master: (23 commits) combine keep_attrs and combine_attrs in apply_ufunc (pydata#5041) Explained what a deprecation cycle is (pydata#5289) Code cleanup (pydata#5234) FacetGrid docstrings (pydata#5293) Add whats new for dataset interpolation with non-numerics (pydata#5297) Allow dataset interpolation with different datatypes (pydata#5008) Flexible indexes: add Index base class and xindexes properties (pydata#5102) pre-commit: autoupdate hook versions (pydata#5280) convert the examples for apply_ufunc to doctest (pydata#5279) fix the new whatsnew section Ensure `HighLevelGraph` layers are `Layer` instances (pydata#5271) New whatsnew section Release-workflow: Bug fix (pydata#5273) more maintenance on whats-new.rst (pydata#5272) v0.18.0 release highlights (pydata#5266) Fix exception when display_expand_data=False for file-backed array. (pydata#5235) Warn ignored keep attrs (pydata#5265) Disable workflows on forks (pydata#5267) fix the built wheel test (pydata#5270) pypi upload workflow maintenance (pydata#5269) ...
pre-commit run --all-filesSee discussion in #5126 (review)