Skip to content

Commit

Permalink
Require protozfits 2.4, adapt to renamed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Feb 26, 2024
1 parent dcc690b commit ff54275
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
"numpy",
"protozfits",
"protozfits~=2.4",
"ctapipe~=0.20.0",
]

Expand Down
6 changes: 3 additions & 3 deletions src/ctapipe_io_zfits/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import pytest
from astropy.time import Time
from ctapipe.containers import EventType
from protozfits import CTA_DL0_Subarray_pb2 as DL0_Subarray
from protozfits import CTA_DL0_Telescope_pb2 as DL0_Telescope
from protozfits import DL0v1_Subarray_pb2 as DL0_Subarray
from protozfits import DL0v1_Telescope_pb2 as DL0_Telescope
from protozfits import ProtobufZOFits
from protozfits.CoreMessages_pb2 import AnyArray

Expand Down Expand Up @@ -120,7 +120,7 @@ def dummy_dl0(dl0_base):
num_samples_nominal=40,
num_samples_long=0,
num_modules=265,
sampling_frequncy=1024,
sampling_frequency=1024,
)

time = obs_start
Expand Down

0 comments on commit ff54275

Please sign in to comment.