dcnum 0.19.0__py3-none-any.whl → 0.19.1__py3-none-any.whl
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.
Potentially problematic release.
This version of dcnum might be problematic. Click here for more details.
- dcnum/_version.py +2 -2
- dcnum/read/hdf5_data.py +6 -2
- dcnum/read/mapped.py +1 -3
- {dcnum-0.19.0.dist-info → dcnum-0.19.1.dist-info}/METADATA +1 -1
- {dcnum-0.19.0.dist-info → dcnum-0.19.1.dist-info}/RECORD +8 -8
- {dcnum-0.19.0.dist-info → dcnum-0.19.1.dist-info}/LICENSE +0 -0
- {dcnum-0.19.0.dist-info → dcnum-0.19.1.dist-info}/WHEEL +0 -0
- {dcnum-0.19.0.dist-info → dcnum-0.19.1.dist-info}/top_level.txt +0 -0
dcnum/_version.py
CHANGED
dcnum/read/hdf5_data.py
CHANGED
|
@@ -355,8 +355,12 @@ class HDF5Data:
|
|
|
355
355
|
elif val == "0":
|
|
356
356
|
kwargs["index_mapping"] = None
|
|
357
357
|
elif val.count("-"):
|
|
358
|
-
start, stop =
|
|
359
|
-
kwargs["index_mapping"] = slice(
|
|
358
|
+
start, stop, step = val.split("-")
|
|
359
|
+
kwargs["index_mapping"] = slice(
|
|
360
|
+
None if start == "n" else int(start),
|
|
361
|
+
None if stop == "n" else int(stop),
|
|
362
|
+
None if step == "n" else int(step)
|
|
363
|
+
)
|
|
360
364
|
else:
|
|
361
365
|
kwargs["index_mapping"] = int(val)
|
|
362
366
|
else:
|
dcnum/read/mapped.py
CHANGED
|
@@ -54,12 +54,10 @@ def _get_mapping_indices_cached(
|
|
|
54
54
|
return np.arange(index_mapping)
|
|
55
55
|
elif isinstance(index_mapping, tuple):
|
|
56
56
|
im_slice = slice(*index_mapping)
|
|
57
|
-
if im_slice.step is not None:
|
|
58
|
-
raise NotImplementedError("Slices with step not implemented yet")
|
|
59
57
|
if im_slice.stop is None or im_slice.start is None:
|
|
60
58
|
raise NotImplementedError(
|
|
61
59
|
"Slices must have start and stop defined")
|
|
62
|
-
return np.arange(im_slice.start, im_slice.stop)
|
|
60
|
+
return np.arange(im_slice.start, im_slice.stop, im_slice.step)
|
|
63
61
|
elif isinstance(index_mapping, list):
|
|
64
62
|
return np.array(index_mapping, dtype=np.uint32)
|
|
65
63
|
else:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dcnum/__init__.py,sha256=hcawIKS7utYiOyVhOAX9t7K3xYzP1b9862VV0b6qSrQ,74
|
|
2
|
-
dcnum/_version.py,sha256=
|
|
2
|
+
dcnum/_version.py,sha256=wOLHPF5OO0ubEMjzvaXg4CVhVL1uy5Ci-sH1WTZH0Dg,413
|
|
3
3
|
dcnum/feat/__init__.py,sha256=jUJYWTD3VIoDNKrmryXbjHb1rGwYtK4b7VPWihYgUoo,325
|
|
4
4
|
dcnum/feat/event_extractor_manager_thread.py,sha256=Ocid_t1awH6pOmurCmKYkC51XsXB0-DoN3fzjFDgE4c,7129
|
|
5
5
|
dcnum/feat/gate.py,sha256=svbObmqpYdqPawpfrsEjTiUPJXf24GrNi8PXTKT-z44,7225
|
|
@@ -29,8 +29,8 @@ dcnum/meta/ppid.py,sha256=Q3jg8lZt5tlGIby_-7rBqTANesMjJrmxASXZhsvBD_Y,7706
|
|
|
29
29
|
dcnum/read/__init__.py,sha256=8uGj4YN7pDP4FO9TkZWXrpScwTLVWSEZexFq-TS9vsA,215
|
|
30
30
|
dcnum/read/cache.py,sha256=kC2Y9hXA92ARQ2Vgm1kBFCU-s6TPE1tPYvpzWI0aPow,5619
|
|
31
31
|
dcnum/read/const.py,sha256=8ih8rlWM7ntp8phrr9dh22hXXb210igSCatOSI9Ou30,463
|
|
32
|
-
dcnum/read/hdf5_data.py,sha256=
|
|
33
|
-
dcnum/read/mapped.py,sha256=
|
|
32
|
+
dcnum/read/hdf5_data.py,sha256=psMN2CGorU4uFO1nlGcpUxKFLZ9HaKCReTi7tVx50tg,22291
|
|
33
|
+
dcnum/read/mapped.py,sha256=Oh1jH2yVqWBPomEf8vlGvsGOMc02ldapAAjgNo-bS7g,2676
|
|
34
34
|
dcnum/segm/__init__.py,sha256=iiq_1A9DU5wMUcKnsZ53E7NyzCkbZCJeUDimzunE-OM,247
|
|
35
35
|
dcnum/segm/segm_thresh.py,sha256=lMf-lso_O_5Q5lJiiIQdYkM3zlj4uwNz9cNvLxVMeXc,1396
|
|
36
36
|
dcnum/segm/segmenter.py,sha256=gVzmP6CuwI9Qfk8GN_xWGu_xbtVTOhxIOWn-2yr_H1Y,12220
|
|
@@ -41,8 +41,8 @@ dcnum/write/__init__.py,sha256=Cpn3LqL18hh8OScUnGp_AnNfpWPpKW-oAJZH6ot7aRA,241
|
|
|
41
41
|
dcnum/write/deque_writer_thread.py,sha256=KpJ6po8JPlM696MITN-bhNnWQcy9E-qlhg9g-uzoPZg,1710
|
|
42
42
|
dcnum/write/queue_collector_thread.py,sha256=YQ6pvKNmCDf1C6HVx6gOA-q-FBoI6nkhOo-tAVYnyag,11906
|
|
43
43
|
dcnum/write/writer.py,sha256=nlJfQCPoW2Wze72y_256G4qmgYMdh5mL0vpvqg7lSaU,11728
|
|
44
|
-
dcnum-0.19.
|
|
45
|
-
dcnum-0.19.
|
|
46
|
-
dcnum-0.19.
|
|
47
|
-
dcnum-0.19.
|
|
48
|
-
dcnum-0.19.
|
|
44
|
+
dcnum-0.19.1.dist-info/LICENSE,sha256=YRChA1C8A2E-amJbudwMcbTCZy_HzmeY0hMIvduh1MM,1089
|
|
45
|
+
dcnum-0.19.1.dist-info/METADATA,sha256=tWMwpFt4Nn8vs1H0aRTBWDmH3pej-O3gWHJ6ESkbvSw,2194
|
|
46
|
+
dcnum-0.19.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
47
|
+
dcnum-0.19.1.dist-info/top_level.txt,sha256=Hmh38rgG_MFTVDpUDGuO2HWTSq80P585Het4COQzFTg,6
|
|
48
|
+
dcnum-0.19.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|