legend-daq2lh5 1.4.2__py3-none-any.whl → 1.4.3__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.
- daq2lh5/_version.py +2 -2
- daq2lh5/orca/orca_streamer.py +3 -0
- {legend_daq2lh5-1.4.2.dist-info → legend_daq2lh5-1.4.3.dist-info}/METADATA +1 -1
- {legend_daq2lh5-1.4.2.dist-info → legend_daq2lh5-1.4.3.dist-info}/RECORD +8 -8
- {legend_daq2lh5-1.4.2.dist-info → legend_daq2lh5-1.4.3.dist-info}/WHEEL +1 -1
- {legend_daq2lh5-1.4.2.dist-info → legend_daq2lh5-1.4.3.dist-info}/LICENSE +0 -0
- {legend_daq2lh5-1.4.2.dist-info → legend_daq2lh5-1.4.3.dist-info}/entry_points.txt +0 -0
- {legend_daq2lh5-1.4.2.dist-info → legend_daq2lh5-1.4.3.dist-info}/top_level.txt +0 -0
daq2lh5/_version.py
CHANGED
daq2lh5/orca/orca_streamer.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
|
3
|
+
import bz2
|
3
4
|
import gzip
|
4
5
|
import json
|
5
6
|
import logging
|
@@ -201,6 +202,8 @@ class OrcaStreamer(DataStreamer):
|
|
201
202
|
self.close_in_stream()
|
202
203
|
if stream_name.endswith(".gz"):
|
203
204
|
self.in_stream = gzip.open(stream_name.encode("utf-8"), "rb")
|
205
|
+
elif stream_name.endswith(".bz2"):
|
206
|
+
self.in_stream = bz2.open(stream_name.encode("utf-8"), "rb")
|
204
207
|
else:
|
205
208
|
self.in_stream = open(stream_name.encode("utf-8"), "rb")
|
206
209
|
self.n_bytes_read = 0
|
@@ -1,5 +1,5 @@
|
|
1
1
|
daq2lh5/__init__.py,sha256=VPmwKuZSA0icpce05ojhnsKWhR4_QUgD0oVXUoN9wks,975
|
2
|
-
daq2lh5/_version.py,sha256=
|
2
|
+
daq2lh5/_version.py,sha256=uWjnlZlgd9LaZgshHJh7ATRsNToqJlu-hyova-D62E0,511
|
3
3
|
daq2lh5/build_raw.py,sha256=SDpdOU8qpfzMtx8gtFu-RZYqxutQo1smJSkv-LrH9YE,10672
|
4
4
|
daq2lh5/cli.py,sha256=7bPfH1XbyAS48wZn_0unj4Y5MD5kF7V34Q5srn4jKVM,2913
|
5
5
|
daq2lh5/data_decoder.py,sha256=Cn40fodfKs7pKa2odzG1j806iw9IyQVfbbWObNGmof8,10677
|
@@ -33,10 +33,10 @@ daq2lh5/orca/orca_header.py,sha256=1tDRG8l9Gqu4c0K4BjXBSC5eiLTzY_HaCsgNBiv5EgI,4
|
|
33
33
|
daq2lh5/orca/orca_header_decoder.py,sha256=ORIIyfx22ybyKc-uyWy5ER49-dl3BGpHdfV8OCDmjIw,1632
|
34
34
|
daq2lh5/orca/orca_packet.py,sha256=nOHuBXsTI1SzTjHZtff0txSQYvkwo4XGx3fpk7XfYj8,2489
|
35
35
|
daq2lh5/orca/orca_run_decoder.py,sha256=3atKXC6mDi8_PK6ICUBBJ-LyaTM8OU31kKWIpmttRr4,2065
|
36
|
-
daq2lh5/orca/orca_streamer.py,sha256
|
37
|
-
legend_daq2lh5-1.4.
|
38
|
-
legend_daq2lh5-1.4.
|
39
|
-
legend_daq2lh5-1.4.
|
40
|
-
legend_daq2lh5-1.4.
|
41
|
-
legend_daq2lh5-1.4.
|
42
|
-
legend_daq2lh5-1.4.
|
36
|
+
daq2lh5/orca/orca_streamer.py,sha256=-NxH0oR9ZSd9ljbR-z_GiPx0Bv7aiLdef6nX2vBYJ3k,15820
|
37
|
+
legend_daq2lh5-1.4.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
38
|
+
legend_daq2lh5-1.4.3.dist-info/METADATA,sha256=DJwwXaiByHsPArVUGvEaQLSLsmgQWVTMcswOwk3kQqE,3956
|
39
|
+
legend_daq2lh5-1.4.3.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
40
|
+
legend_daq2lh5-1.4.3.dist-info/entry_points.txt,sha256=R08R4NrHi0ab5MJN_qKqzePVzrLSsw5WpmbiwwduYjw,59
|
41
|
+
legend_daq2lh5-1.4.3.dist-info/top_level.txt,sha256=MJQVLyLqMgMKBdVfNXFaCKCjHKakAs19VLbC9ctXZ7A,8
|
42
|
+
legend_daq2lh5-1.4.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|