Skip to content

Commit

Permalink
Merge pull request #37 from legend-exp/dev
Browse files Browse the repository at this point in the history
Support for latest legend-pydataobj release
  • Loading branch information
gipert authored May 8, 2024
2 parents f1e12e9 + 548011d commit 7bc26f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macos-13]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion src/daq2lh5/data_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class DataDecoder:
def __init__(
self, garbage_length: int = 256, packet_size_guess: int = 1024
) -> None:
self.garbage_table = lgdo.Table(garbage_length)
self.garbage_table = lgdo.Table(size=garbage_length)
shape_guess = (garbage_length, packet_size_guess)
self.garbage_table.add_field(
"packets", lgdo.VectorOfVectors(shape_guess=shape_guess, dtype="uint8")
Expand Down

0 comments on commit 7bc26f6

Please sign in to comment.