legend-daq2lh5 1.4.2__tar.gz → 1.4.3__tar.gz

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.
Files changed (79) hide show
  1. {legend_daq2lh5-1.4.2/src/legend_daq2lh5.egg-info → legend_daq2lh5-1.4.3}/PKG-INFO +1 -1
  2. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/_version.py +2 -2
  3. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_streamer.py +3 -0
  4. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3/src/legend_daq2lh5.egg-info}/PKG-INFO +1 -1
  5. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/LICENSE +0 -0
  6. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/README.md +0 -0
  7. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/pyproject.toml +0 -0
  8. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/setup.cfg +0 -0
  9. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/setup.py +0 -0
  10. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/__init__.py +0 -0
  11. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/buffer_processor/__init__.py +0 -0
  12. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/buffer_processor/buffer_processor.py +0 -0
  13. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/buffer_processor/lh5_buffer_processor.py +0 -0
  14. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/build_raw.py +0 -0
  15. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/cli.py +0 -0
  16. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/compass/__init__.py +0 -0
  17. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/compass/compass_config_parser.py +0 -0
  18. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/compass/compass_event_decoder.py +0 -0
  19. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/compass/compass_header_decoder.py +0 -0
  20. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/compass/compass_streamer.py +0 -0
  21. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/data_decoder.py +0 -0
  22. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/data_streamer.py +0 -0
  23. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/fc/__init__.py +0 -0
  24. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/fc/fc_config_decoder.py +0 -0
  25. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/fc/fc_event_decoder.py +0 -0
  26. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/fc/fc_status_decoder.py +0 -0
  27. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/fc/fc_streamer.py +0 -0
  28. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/llama/__init__.py +0 -0
  29. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/llama/llama_base.py +0 -0
  30. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/llama/llama_event_decoder.py +0 -0
  31. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/llama/llama_header_decoder.py +0 -0
  32. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/llama/llama_streamer.py +0 -0
  33. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/logging.py +0 -0
  34. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/__init__.py +0 -0
  35. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_base.py +0 -0
  36. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_digitizers.py +0 -0
  37. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_flashcam.py +0 -0
  38. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_header.py +0 -0
  39. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_header_decoder.py +0 -0
  40. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_packet.py +0 -0
  41. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/orca/orca_run_decoder.py +0 -0
  42. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/raw_buffer.py +0 -0
  43. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/daq2lh5/utils.py +0 -0
  44. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/legend_daq2lh5.egg-info/SOURCES.txt +0 -0
  45. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/legend_daq2lh5.egg-info/dependency_links.txt +0 -0
  46. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/legend_daq2lh5.egg-info/entry_points.txt +0 -0
  47. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/legend_daq2lh5.egg-info/not-zip-safe +0 -0
  48. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/legend_daq2lh5.egg-info/requires.txt +0 -0
  49. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/src/legend_daq2lh5.egg-info/top_level.txt +0 -0
  50. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/buffer_processor/test_buffer_processor.py +0 -0
  51. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/buffer_processor/test_buffer_processor_configs/buffer_processor_config.json +0 -0
  52. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/buffer_processor/test_buffer_processor_configs/lh5_buffer_processor_config.json +0 -0
  53. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/buffer_processor/test_buffer_processor_configs/raw_out_spec_no_proc.json +0 -0
  54. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/buffer_processor/test_lh5_buffer_processor.py +0 -0
  55. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/compass/conftest.py +0 -0
  56. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/compass/test_compass_event_decoder.py +0 -0
  57. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/compass/test_compass_header_decoder.py +0 -0
  58. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/compass/test_compass_streamer.py +0 -0
  59. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/configs/fc-out-spec.json +0 -0
  60. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/configs/orca-out-spec-cli.json +0 -0
  61. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/configs/orca-out-spec.json +0 -0
  62. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/conftest.py +0 -0
  63. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/fc/conftest.py +0 -0
  64. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/fc/test_fc_config_decoder.py +0 -0
  65. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/fc/test_fc_event_decoder.py +0 -0
  66. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/fc/test_fc_status_decoder.py +0 -0
  67. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/fc/test_fc_streamer.py +0 -0
  68. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/llama/conftest.py +0 -0
  69. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/llama/test_llama_event_decoder.py +0 -0
  70. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/llama/test_llama_header_decoder.py +0 -0
  71. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/llama/test_llama_streamer.py +0 -0
  72. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/orca/conftest.py +0 -0
  73. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/orca/test_or_run_decoder_for_run.py +0 -0
  74. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/orca/test_orca_fc.py +0 -0
  75. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/orca/test_orca_packet.py +0 -0
  76. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/test_build_raw.py +0 -0
  77. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/test_cli.py +0 -0
  78. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/test_daq_to_raw.py +0 -0
  79. {legend_daq2lh5-1.4.2 → legend_daq2lh5-1.4.3}/tests/test_raw_buffer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: legend_daq2lh5
3
- Version: 1.4.2
3
+ Version: 1.4.3
4
4
  Summary: Convert digitizer data to LH5
5
5
  Home-page: https://github.com/legend-exp/legend-daq2lh5
6
6
  Author: Jason Detwiler
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '1.4.2'
21
- __version_tuple__ = version_tuple = (1, 4, 2)
20
+ __version__ = version = '1.4.3'
21
+ __version_tuple__ = version_tuple = (1, 4, 3)
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: legend_daq2lh5
3
- Version: 1.4.2
3
+ Version: 1.4.3
4
4
  Summary: Convert digitizer data to LH5
5
5
  Home-page: https://github.com/legend-exp/legend-daq2lh5
6
6
  Author: Jason Detwiler
File without changes
File without changes
File without changes
File without changes