Skip to content

Commit 0e5bff0

Browse files
authored
Merge pull request #902 from fractal-analytics-platform/901_pyramid_directory_store
Fix pyramid directory store
2 parents 7262e20 + 53a8056 commit 0e5bff0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
**Note**: Numbers like (\#123) point to closed Pull Requests on the fractal-tasks-core repository.
22

3+
# 1.4.3
4+
* Library
5+
* Ensure build_pyramid uses directory store by default (\#902).
6+
37
# 1.4.2
48
* Dependencies:
59
* Relax from `0.1.4` to `>=0.1.5,<0.2.0`

fractal_tasks_core/pyramids.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ def build_pyramid(
125125
chunks=newlevel_rechunked.chunksize,
126126
dtype=newlevel_rechunked.dtype,
127127
mode="w",
128+
dimension_separator=open_array_kwargs.get(
129+
"dimension_separator", "/"
130+
),
128131
**open_array_kwargs,
129132
)
130133

@@ -135,5 +138,7 @@ def build_pyramid(
135138
compute=True,
136139
return_stored=True,
137140
write_empty_chunks=False,
138-
dimension_separator="/",
141+
dimension_separator=open_array_kwargs.get(
142+
"dimension_separator", "/"
143+
),
139144
)

0 commit comments

Comments
 (0)