File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 shell : " bash -l {0}"
2525 run : |
2626 conda activate minimal
27- python -m pip install -e .
27+ python -m pip install .
2828 pytest -svx
Original file line number Diff line number Diff line change 5757 python -m pip install --upgrade pip
5858 python -m pip install -U pip setuptools wheel codecov line_profiler
5959 python -m pip install -rrequirements_dev_minimal.txt numpy${{ matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo redis
60- python -m pip install -e .
60+ python -m pip install .
6161 python -m pip freeze
6262 - name : Tests
6363 shell : " bash -l {0}"
Original file line number Diff line number Diff line change 3939 python -m pip install --upgrade pip
4040 python -m pip install -U pip setuptools wheel
4141 python -m pip install -r requirements_dev_numpy.txt -r requirements_dev_minimal.txt -r requirements_dev_optional.txt
42- python -m pip install -e .
42+ python -m pip install .
4343 python -m pip freeze
4444 npm install -g azurite
4545 - name : Run Tests
Original file line number Diff line number Diff line change @@ -12,6 +12,17 @@ Enhancements
1212* array indexing with [] (getitem and setitem) now supports fancy indexing.
1313 By :user: `Juan Nunez-Iglesias <jni> `; :issue: `725 `.
1414
15+ .. _release_2.10.2 :
16+
17+ 2.10.2
18+ ------
19+
20+ Bug fixes
21+ ~~~~~~~~~
22+
23+ * Fix NestedDirectoryStore datasets without dimension_separator metadata.
24+ By :user: `Josh Moore <joshmoore> `; :issue: `850 `.
25+
1526.. _release_2.10.1 :
1627
17282.10.1
Original file line number Diff line number Diff line change 1010 "id": "blosc",
1111 "shuffle": 1
1212 },
13+ "dimension_separator": ".",
1314 "dtype": "<i8",
1415 "fill_value": 0,
1516 "filters": null,
1920 2
2021 ],
2122 "zarr_format": 2
22- }
23+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chunks": [
3+ 2,
4+ 2
5+ ],
6+ "compressor": {
7+ "blocksize": 0,
8+ "clevel": 5,
9+ "cname": "lz4",
10+ "id": "blosc",
11+ "shuffle": 1
12+ },
13+ "dtype": "<i8",
14+ "fill_value": 0,
15+ "filters": null,
16+ "order": "C",
17+ "shape": [
18+ 2,
19+ 2
20+ ],
21+ "zarr_format": 2
22+ }
Original file line number Diff line number Diff line change 1+ {
2+ "chunks": [
3+ 2,
4+ 2
5+ ],
6+ "compressor": {
7+ "blocksize": 0,
8+ "clevel": 5,
9+ "cname": "lz4",
10+ "id": "blosc",
11+ "shuffle": 1
12+ },
13+ "dtype": "<i8",
14+ "fill_value": 0,
15+ "filters": null,
16+ "order": "C",
17+ "shape": [
18+ 2,
19+ 2
20+ ],
21+ "zarr_format": 2
22+ }
Original file line number Diff line number Diff line change @@ -196,7 +196,18 @@ def _load_metadata_nosync(self):
196196 self ._dtype = meta ['dtype' ]
197197 self ._fill_value = meta ['fill_value' ]
198198 self ._order = meta ['order' ]
199- self ._dimension_separator = meta .get ('dimension_separator' , '.' )
199+
200+ dimension_separator = meta .get ('dimension_separator' , None )
201+ if dimension_separator is None :
202+ try :
203+ dimension_separator = self ._store ._dimension_separator
204+ except (AttributeError , KeyError ):
205+ pass
206+
207+ # Fallback for any stores which do not choose a default
208+ if dimension_separator is None :
209+ dimension_separator = "."
210+ self ._dimension_separator = dimension_separator
200211
201212 # setup compressor
202213 config = meta ['compressor' ]
You can’t perform that action at this time.
0 commit comments