dcnum 0.25.3__py3-none-any.whl → 0.25.5__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 +16 -7
- {dcnum-0.25.3.dist-info → dcnum-0.25.5.dist-info}/METADATA +11 -11
- {dcnum-0.25.3.dist-info → dcnum-0.25.5.dist-info}/RECORD +7 -7
- {dcnum-0.25.3.dist-info → dcnum-0.25.5.dist-info}/WHEEL +1 -1
- {dcnum-0.25.3.dist-info → dcnum-0.25.5.dist-info}/LICENSE +0 -0
- {dcnum-0.25.3.dist-info → dcnum-0.25.5.dist-info}/top_level.txt +0 -0
dcnum/_version.py
CHANGED
dcnum/read/hdf5_data.py
CHANGED
|
@@ -198,11 +198,17 @@ class HDF5Data:
|
|
|
198
198
|
self.logs[key] = alog
|
|
199
199
|
# tables
|
|
200
200
|
for tab in sorted(h5.get("tables", {}).keys()):
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
fields = h5["tables"][tab].dtype.fields
|
|
202
|
+
if fields is None:
|
|
203
|
+
# No individual curves, but an image array
|
|
204
|
+
self.tables[tab] = h5["tables"][tab][:]
|
|
205
|
+
else:
|
|
206
|
+
# List of curves with predefined dtypes
|
|
207
|
+
tabdict = {}
|
|
208
|
+
for tkey in fields.keys():
|
|
209
|
+
tabdict[tkey] = \
|
|
210
|
+
np.array(h5["tables"][tab][tkey]).reshape(-1)
|
|
211
|
+
self.tables[tab] = tabdict
|
|
206
212
|
# basins
|
|
207
213
|
basins = self.extract_basin_dicts(h5)
|
|
208
214
|
self.basins = sorted(basins, key=lambda x: x["name"])
|
|
@@ -593,8 +599,11 @@ def concatenated_hdf5_data(paths: List[pathlib.Path],
|
|
|
593
599
|
raise ValueError(
|
|
594
600
|
f"Invalid type for `path_out`: {type(path_out)} ({path_out}")
|
|
595
601
|
|
|
596
|
-
if len(paths)
|
|
597
|
-
raise ValueError("Please specify at least
|
|
602
|
+
if len(paths) == 0:
|
|
603
|
+
raise ValueError("Please specify at least one file in `paths`!")
|
|
604
|
+
elif len(paths) == 1:
|
|
605
|
+
warnings.warn("Only one file passed to `concatenated_hdf5_data`; this "
|
|
606
|
+
"is equivalent to using `HDF5Data`, but slower.")
|
|
598
607
|
|
|
599
608
|
frames = []
|
|
600
609
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: dcnum
|
|
3
|
-
Version: 0.25.
|
|
3
|
+
Version: 0.25.5
|
|
4
4
|
Summary: numerics toolbox for imaging deformability cytometry
|
|
5
5
|
Author: Maximilian Schlögel, Paul Müller, Raghava Alajangi
|
|
6
6
|
Maintainer-email: Paul Müller <dev@craban.de>
|
|
@@ -17,16 +17,16 @@ Classifier: Intended Audience :: Science/Research
|
|
|
17
17
|
Requires-Python: <4,>=3.10
|
|
18
18
|
Description-Content-Type: text/x-rst
|
|
19
19
|
License-File: LICENSE
|
|
20
|
-
Requires-Dist: h5py
|
|
21
|
-
Requires-Dist: hdf5plugin
|
|
22
|
-
Requires-Dist: mahotas
|
|
23
|
-
Requires-Dist: numba
|
|
24
|
-
Requires-Dist: numpy
|
|
25
|
-
Requires-Dist: opencv-python-headless
|
|
26
|
-
Requires-Dist: scikit-image
|
|
27
|
-
Requires-Dist: scipy
|
|
20
|
+
Requires-Dist: h5py<4,>=3.0.0
|
|
21
|
+
Requires-Dist: hdf5plugin<6,>=3.3.1
|
|
22
|
+
Requires-Dist: mahotas<2,>=1
|
|
23
|
+
Requires-Dist: numba<1,>=0.60
|
|
24
|
+
Requires-Dist: numpy<3,>=1.21
|
|
25
|
+
Requires-Dist: opencv-python-headless<5,>=4
|
|
26
|
+
Requires-Dist: scikit-image<1,>=0.24
|
|
27
|
+
Requires-Dist: scipy<1.15.0,>=1.8.0
|
|
28
28
|
Provides-Extra: torch
|
|
29
|
-
Requires-Dist: torch
|
|
29
|
+
Requires-Dist: torch>=2.2; extra == "torch"
|
|
30
30
|
|
|
31
31
|
|dcnum|
|
|
32
32
|
=======
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dcnum/__init__.py,sha256=hcawIKS7utYiOyVhOAX9t7K3xYzP1b9862VV0b6qSrQ,74
|
|
2
|
-
dcnum/_version.py,sha256=
|
|
2
|
+
dcnum/_version.py,sha256=9fxGcLLejSq2kXz456dcZ6KQ3PScn-5vo0OgINlsUs0,413
|
|
3
3
|
dcnum/os_env_st.py,sha256=ujEVzn1G5sxZfJSITOMw48e2O_oMFu2VD6oj5QCUFSU,3025
|
|
4
4
|
dcnum/feat/__init__.py,sha256=jUJYWTD3VIoDNKrmryXbjHb1rGwYtK4b7VPWihYgUoo,325
|
|
5
5
|
dcnum/feat/event_extractor_manager_thread.py,sha256=FAxSyRfaNAuBWNplxHngp5h-44s0qIP24XX_oETdfMk,7836
|
|
@@ -31,7 +31,7 @@ dcnum/read/__init__.py,sha256=LYHyZHgiNTpjV5oEcty-7Kh5topLpHT_cFlNl-QX8gg,262
|
|
|
31
31
|
dcnum/read/cache.py,sha256=LNA5nnDyrw8Nj07E7XfG2GcHEoWm6vA6Qo_8N-n-sGw,6492
|
|
32
32
|
dcnum/read/const.py,sha256=GG9iyXDtEldvJYOBnhZjlimzIeBMAt4bSr2-xn2gzzc,464
|
|
33
33
|
dcnum/read/detect_flicker.py,sha256=CeUyxI6LaX_lCNvBPm_yzsiWmiNcZYqbNZCtvKPdkcU,1827
|
|
34
|
-
dcnum/read/hdf5_data.py,sha256=
|
|
34
|
+
dcnum/read/hdf5_data.py,sha256=Q4sFT1HBrkrKCX1TUaOpibvz8VFj0ETMa9lw_xIF6tw,26360
|
|
35
35
|
dcnum/read/mapped.py,sha256=zU2fYdZfLNHn0rKHxDzBhNFMu4--WWa8nSeE2likyZA,3637
|
|
36
36
|
dcnum/segm/__init__.py,sha256=9cLEAd3JWE8IGqDHV-eSDIYOGBfOepd8OcebtNs8Omk,309
|
|
37
37
|
dcnum/segm/segm_thresh.py,sha256=iVhvIhzO0Gw0t3rXOgH71rOI0CNjJJQq4Gg6BulUhK8,948
|
|
@@ -50,8 +50,8 @@ dcnum/write/__init__.py,sha256=sK79IlvCFIqf2oFABVeyYedMnHOsEIQpxAauEeNO-Tw,273
|
|
|
50
50
|
dcnum/write/deque_writer_thread.py,sha256=ao7F1yrVKyufgC4rC0Y2_Vt7snuT6KpI7W2qVxcjdhk,1994
|
|
51
51
|
dcnum/write/queue_collector_thread.py,sha256=KwwNIDFEF2DU83woKES5K05MxxOhDxPMZLLeyPugfDo,11542
|
|
52
52
|
dcnum/write/writer.py,sha256=oHlq4bDHQxb33-3Fw1xnzJwACecLyH-6koGK8SN0cSk,20528
|
|
53
|
-
dcnum-0.25.
|
|
54
|
-
dcnum-0.25.
|
|
55
|
-
dcnum-0.25.
|
|
56
|
-
dcnum-0.25.
|
|
57
|
-
dcnum-0.25.
|
|
53
|
+
dcnum-0.25.5.dist-info/LICENSE,sha256=YRChA1C8A2E-amJbudwMcbTCZy_HzmeY0hMIvduh1MM,1089
|
|
54
|
+
dcnum-0.25.5.dist-info/METADATA,sha256=sZNOKsa8U5IYQKn0jDGFzTVQvnJfMREuv_4ctHNU5Js,2321
|
|
55
|
+
dcnum-0.25.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
56
|
+
dcnum-0.25.5.dist-info/top_level.txt,sha256=Hmh38rgG_MFTVDpUDGuO2HWTSq80P585Het4COQzFTg,6
|
|
57
|
+
dcnum-0.25.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|