legend-pydataobj 1.11.0__py3-none-any.whl → 1.11.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.
- {legend_pydataobj-1.11.0.dist-info → legend_pydataobj-1.11.1.dist-info}/METADATA +1 -1
- {legend_pydataobj-1.11.0.dist-info → legend_pydataobj-1.11.1.dist-info}/RECORD +8 -8
- lgdo/_version.py +2 -2
- lgdo/utils.py +8 -0
- {legend_pydataobj-1.11.0.dist-info → legend_pydataobj-1.11.1.dist-info}/LICENSE +0 -0
- {legend_pydataobj-1.11.0.dist-info → legend_pydataobj-1.11.1.dist-info}/WHEEL +0 -0
- {legend_pydataobj-1.11.0.dist-info → legend_pydataobj-1.11.1.dist-info}/entry_points.txt +0 -0
- {legend_pydataobj-1.11.0.dist-info → legend_pydataobj-1.11.1.dist-info}/top_level.txt +0 -0
@@ -1,11 +1,11 @@
|
|
1
1
|
lgdo/__init__.py,sha256=1YUuAFQHNrOOkr3ZfrtEJOpYqgzbHRYA81ssbQZitQE,3196
|
2
|
-
lgdo/_version.py,sha256=
|
2
|
+
lgdo/_version.py,sha256=ViXoKdbMMGZh_eRAk57AUhm5qTprWkA8tHRRDjKZFeY,413
|
3
3
|
lgdo/cli.py,sha256=Qm2EPmoIVxENAR8BeW7oWpTdHT4GbV-owfzM5NkgjvM,9353
|
4
4
|
lgdo/lgdo_utils.py,sha256=6a2YWEwpyEMXlAyTHZMO01aqxy6SxJzPZkGNWKNWuS0,2567
|
5
5
|
lgdo/lh5_store.py,sha256=5BzbJA9sLcqjp8bJDc2olwOiw0VS6rmfg3cfh1kQkRY,8512
|
6
6
|
lgdo/logging.py,sha256=82wIOj7l7xr3WYyeHdpSXbbjzHJsy-uRyKYUYx2vMfQ,1003
|
7
7
|
lgdo/units.py,sha256=VQYME86_ev9S7Fq8RyCOQNqYr29MphTTYemmEouZafk,161
|
8
|
-
lgdo/utils.py,sha256=
|
8
|
+
lgdo/utils.py,sha256=WRTmXnaQ-h2hVxwJ27qiOigdsD3DHcaDrdDjvupCuZU,3940
|
9
9
|
lgdo/compression/__init__.py,sha256=gqbdx4NnpCcW-C7kUXV-hVUZFiNlbCwIbs3uzFe4AFE,1127
|
10
10
|
lgdo/compression/base.py,sha256=82cQJujfvoAOKBFx761dEcx_xM02TBCBBuBo6i78tuI,838
|
11
11
|
lgdo/compression/generic.py,sha256=tF3UhLJbUDcovLxpIzgQRxFSjZ5Fz3uDRy9kI4mFntQ,2515
|
@@ -47,9 +47,9 @@ lgdo/types/table.py,sha256=lB_jj6C0C5w8jbo17Lp0P8_uY8jy7opkTJc1OrbCGEI,17956
|
|
47
47
|
lgdo/types/vectorofvectors.py,sha256=cic9PsZ5EptQ6RMsykYeVHA8T7fh_KBZCcqeTP4i1wU,24395
|
48
48
|
lgdo/types/vovutils.py,sha256=7BWPP0BSj-92ifbCIUBcfqxG5-TS8uxujTyJJuDFI04,10302
|
49
49
|
lgdo/types/waveformtable.py,sha256=f2tS4f1OEoYaTM5ldCX9zmw8iSISCT3t3wS1SrPdu_o,9901
|
50
|
-
legend_pydataobj-1.11.
|
51
|
-
legend_pydataobj-1.11.
|
52
|
-
legend_pydataobj-1.11.
|
53
|
-
legend_pydataobj-1.11.
|
54
|
-
legend_pydataobj-1.11.
|
55
|
-
legend_pydataobj-1.11.
|
50
|
+
legend_pydataobj-1.11.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
51
|
+
legend_pydataobj-1.11.1.dist-info/METADATA,sha256=RWtG96_oyl1V4jeydeI7P1fOjo29UafhzV-D7oKxefU,44382
|
52
|
+
legend_pydataobj-1.11.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
53
|
+
legend_pydataobj-1.11.1.dist-info/entry_points.txt,sha256=Uu5MTlppBZxB4QGlLv-oX8FqACWjAZDNii__TBDJwLQ,72
|
54
|
+
legend_pydataobj-1.11.1.dist-info/top_level.txt,sha256=KyR-EUloqiXcQ62IWnzBmtInDtvsHl4q2ZJAZgTcLXE,5
|
55
|
+
legend_pydataobj-1.11.1.dist-info/RECORD,,
|
lgdo/_version.py
CHANGED
lgdo/utils.py
CHANGED
@@ -49,6 +49,14 @@ def get_element_type(obj: object) -> str:
|
|
49
49
|
return "complex"
|
50
50
|
if kind in ["S", "U"]:
|
51
51
|
return "string"
|
52
|
+
if (
|
53
|
+
kind == "O"
|
54
|
+
and dt.metadata is not None
|
55
|
+
and dt.metadata.get("vlen", None) in (str, bytes)
|
56
|
+
):
|
57
|
+
# variable length strings in HDF5 are read as numpy object arrays in h5py.
|
58
|
+
# see also h5py.check_vlen_dtype.
|
59
|
+
return "string"
|
52
60
|
|
53
61
|
# couldn't figure it out
|
54
62
|
msg = "cannot determine lgdo element_type for object of type"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|