legend-pydataobj 1.10.1__py3-none-any.whl → 1.10.2__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.10.1.dist-info → legend_pydataobj-1.10.2.dist-info}/METADATA +1 -1
- {legend_pydataobj-1.10.1.dist-info → legend_pydataobj-1.10.2.dist-info}/RECORD +9 -9
- {legend_pydataobj-1.10.1.dist-info → legend_pydataobj-1.10.2.dist-info}/WHEEL +1 -1
- lgdo/_version.py +2 -2
- lgdo/lh5/core.py +4 -0
- lgdo/types/vectorofvectors.py +1 -1
- {legend_pydataobj-1.10.1.dist-info → legend_pydataobj-1.10.2.dist-info}/LICENSE +0 -0
- {legend_pydataobj-1.10.1.dist-info → legend_pydataobj-1.10.2.dist-info}/entry_points.txt +0 -0
- {legend_pydataobj-1.10.1.dist-info → legend_pydataobj-1.10.2.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
lgdo/__init__.py,sha256=1YUuAFQHNrOOkr3ZfrtEJOpYqgzbHRYA81ssbQZitQE,3196
|
2
|
-
lgdo/_version.py,sha256=
|
2
|
+
lgdo/_version.py,sha256=OsEgLsDG1xRQRG0sI3ZjVZ80k63_OfDzWK-5WpWx-Bs,413
|
3
3
|
lgdo/cli.py,sha256=vB1Oj6kZ5gWaY9HBPBRRRyiepp72hm3bFvQeUUWeMYg,8214
|
4
4
|
lgdo/lgdo_utils.py,sha256=6a2YWEwpyEMXlAyTHZMO01aqxy6SxJzPZkGNWKNWuS0,2567
|
5
5
|
lgdo/lh5_store.py,sha256=5BzbJA9sLcqjp8bJDc2olwOiw0VS6rmfg3cfh1kQkRY,8512
|
@@ -13,7 +13,7 @@ lgdo/compression/radware.py,sha256=GcNTtjuyL7VBBqziUBmSqNXuhqy1bJJgvcyvyumPtrc,2
|
|
13
13
|
lgdo/compression/utils.py,sha256=W2RkBrxPpXlat84dnU9Ad7d_tTws0irtGl7O1dNWjnk,1140
|
14
14
|
lgdo/compression/varlen.py,sha256=6ZZUItyoOfygDdE0DyoISeFZfqdbH6xl7T0eclfarzg,15127
|
15
15
|
lgdo/lh5/__init__.py,sha256=KzWF6HI-6N1NqQUm8LAxMmDbg0rgRY4DAaJ2s7w2tLM,811
|
16
|
-
lgdo/lh5/core.py,sha256=
|
16
|
+
lgdo/lh5/core.py,sha256=__-A6Abctzfwfo4-xJi68xs2e4vfzONEQTJVrUCOw-I,13922
|
17
17
|
lgdo/lh5/datatype.py,sha256=O_7BqOlX8PFMyG0ppkfUT5aps5HEqX0bpuKcJO3jhu0,1691
|
18
18
|
lgdo/lh5/exceptions.py,sha256=43fQ8MnAsylY4aG6GF6hsRclagYaMkUv8957c1uTjWE,962
|
19
19
|
lgdo/lh5/iterator.py,sha256=ZaBBnmuNIjinwO0JUY55wLxX8Om9rVRRzXBC5uHmSKM,19772
|
@@ -44,12 +44,12 @@ lgdo/types/lgdo.py,sha256=UnJDi1emQYVgH_H29Vipfs4LelPopxG5pgZUu1eKOlw,2761
|
|
44
44
|
lgdo/types/scalar.py,sha256=c5Es2vyDqyWTPV6mujzfIzMpC1jNWkEIcvYyWQUxH3Q,1933
|
45
45
|
lgdo/types/struct.py,sha256=Q0OWLVd4B0ciLb8t6VsxU3MPbmGLZ7WfQNno1lSQS0Q,4918
|
46
46
|
lgdo/types/table.py,sha256=lB_jj6C0C5w8jbo17Lp0P8_uY8jy7opkTJc1OrbCGEI,17956
|
47
|
-
lgdo/types/vectorofvectors.py,sha256=
|
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.10.
|
51
|
-
legend_pydataobj-1.10.
|
52
|
-
legend_pydataobj-1.10.
|
53
|
-
legend_pydataobj-1.10.
|
54
|
-
legend_pydataobj-1.10.
|
55
|
-
legend_pydataobj-1.10.
|
50
|
+
legend_pydataobj-1.10.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
51
|
+
legend_pydataobj-1.10.2.dist-info/METADATA,sha256=mipAxDDjt7yxG50BWppw9P612g_4p4sb1IzWjTHLDUw,44381
|
52
|
+
legend_pydataobj-1.10.2.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
53
|
+
legend_pydataobj-1.10.2.dist-info/entry_points.txt,sha256=Uu5MTlppBZxB4QGlLv-oX8FqACWjAZDNii__TBDJwLQ,72
|
54
|
+
legend_pydataobj-1.10.2.dist-info/top_level.txt,sha256=KyR-EUloqiXcQ62IWnzBmtInDtvsHl4q2ZJAZgTcLXE,5
|
55
|
+
legend_pydataobj-1.10.2.dist-info/RECORD,,
|
lgdo/_version.py
CHANGED
lgdo/lh5/core.py
CHANGED
@@ -120,6 +120,7 @@ def read(
|
|
120
120
|
lh5_obj = lh5_file[name]
|
121
121
|
else:
|
122
122
|
lh5_files = list(lh5_file)
|
123
|
+
|
123
124
|
n_rows_read = 0
|
124
125
|
obj_buf_is_new = False
|
125
126
|
|
@@ -353,5 +354,8 @@ def read_as(
|
|
353
354
|
# NOTE: providing a buffer does not make much sense
|
354
355
|
obj = read(name, lh5_file, **kwargs1)
|
355
356
|
|
357
|
+
if isinstance(obj, tuple):
|
358
|
+
obj = obj[0]
|
359
|
+
|
356
360
|
# and finally return a view
|
357
361
|
return obj.view_as(library, **kwargs2)
|
lgdo/types/vectorofvectors.py
CHANGED
@@ -503,7 +503,7 @@ class VectorOfVectors(LGDO):
|
|
503
503
|
def __str__(self) -> str:
|
504
504
|
string = self.view_as("ak").show(stream=None)
|
505
505
|
|
506
|
-
string = string.strip().removesuffix("]")
|
506
|
+
string = str(string).strip().removesuffix("]")
|
507
507
|
string += "\n]"
|
508
508
|
|
509
509
|
tmp_attrs = self.attrs.copy()
|
File without changes
|
File without changes
|
File without changes
|