diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 925d73d..5bdd3a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/src/daq2lh5/data_decoder.py b/src/daq2lh5/data_decoder.py index 731a6cb..abbcff4 100644 --- a/src/daq2lh5/data_decoder.py +++ b/src/daq2lh5/data_decoder.py @@ -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")