ewoksdata 2.1.0__tar.gz → 2.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ewoksdata-2.1.0/src/ewoksdata.egg-info → ewoksdata-2.1.1}/PKG-INFO +1 -1
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/pyproject.toml +1 -1
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_sequential_stack.py +6 -3
- {ewoksdata-2.1.0 → ewoksdata-2.1.1/src/ewoksdata.egg-info}/PKG-INFO +1 -1
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/LICENSE.md +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/README.md +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/setup.cfg +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/__init__.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/__init__.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/bliss.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/blissdata/__init__.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/blissdata/blissdatav0.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/blissdata/blissdatav1.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/blissdata/blissdatav2.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/contextiterator.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/__init__.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/config.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/__init__.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_base.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_non_sequential.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_non_sequential_stack.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_sequential.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/types.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/nexus.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/url.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/utils.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/__init__.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/conftest.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/data/__init__.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/data/bliss_scans.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/test_contextiterator.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/test_data_bliss.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/test_data_hdf5.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/test_data_nexus.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/tests/test_dataset_writer.py +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata.egg-info/SOURCES.txt +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata.egg-info/dependency_links.txt +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata.egg-info/requires.txt +0 -0
- {ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ewoksdata"
|
|
7
|
-
version = "2.1.
|
|
7
|
+
version = "2.1.1"
|
|
8
8
|
authors = [{ name = "ESRF", email = "dau-pydev@esrf.fr" }]
|
|
9
9
|
description = "Ewoks tasks for data access"
|
|
10
10
|
readme = { file = "README.md", content-type = "text/markdown" }
|
{ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_sequential_stack.py
RENAMED
|
@@ -164,6 +164,8 @@ class StackDatasetWriter(DatasetWriterBase):
|
|
|
164
164
|
non_ragged_destination = len(set(istart0_dim1)) == 1
|
|
165
165
|
|
|
166
166
|
if non_ragged_destination and non_ragged_buffers:
|
|
167
|
+
if flush_sizes_dim1[0] == 0:
|
|
168
|
+
continue # h5py=3.16 cannot handle this anymore
|
|
167
169
|
data = [buffer[: flush_sizes_dim1[0]] for buffer in buffers]
|
|
168
170
|
idx_dim1 = slice(istart0_dim1[0], istart0_dim1[0] + flush_sizes_dim1[0])
|
|
169
171
|
self._dataset[idx_dim0, idx_dim1] = data
|
|
@@ -174,9 +176,10 @@ class StackDatasetWriter(DatasetWriterBase):
|
|
|
174
176
|
istart0_dim1,
|
|
175
177
|
flush_sizes_dim1,
|
|
176
178
|
):
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
if i_flush_size_dim1 == 0:
|
|
180
|
+
continue # h5py=3.16 cannot handle this anymore
|
|
181
|
+
idx_dim1 = slice(istart_dim1, istart_dim1 + i_flush_size_dim1)
|
|
182
|
+
self._dataset[i_dim0, idx_dim1, ...] = buffer[:i_flush_size_dim1]
|
|
180
183
|
|
|
181
184
|
# Remove copied data from buffer
|
|
182
185
|
for i0 in range(size_dim0):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_non_sequential.py
RENAMED
|
File without changes
|
{ewoksdata-2.1.0 → ewoksdata-2.1.1}/src/ewoksdata/data/hdf5/dataset_writer/_non_sequential_stack.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|