Skip to content

Commit ffbff42

Browse files
authored
Merge pull request #66 from jlenain/65-nectarcam-runs-cannot-be-read-with-last-event-builder
NectarCAM runs not compatible with `EventSource` anymore
2 parents a0d15d8 + 0dc5131 commit ffbff42

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ctapipe_io_nectarcam/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,10 @@ def is_compatible(file_path):
770770
and (h["ZTABLE"] is True)
771771
and (h["ORIGIN"] == "CTA")
772772
and (
773-
h["PBFHEAD"] == "R1.CameraEvent" or h["PBFHEAD"] == "CTAR1.Event"
774-
) # The latter is from EVBv6
773+
h["PBFHEAD"] == "R1.CameraEvent"
774+
or h["PBFHEAD"] == "CTAR1.Event"
775+
or h["PBFHEAD"] == "R1v1.Event"
776+
) # The latter two are for EVBv6
775777
)
776778

777779
is_nectarcam_file = "nectarcam_counters" in ttypes

0 commit comments

Comments
 (0)