From 57011d9673bfc524bb6f06a72c0ea7e2b6b22d28 Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Wed, 21 Jun 2023 15:01:24 +0200 Subject: [PATCH] Allow PBFHEAD=ProtoR1.CameraEvent --- src/ctapipe_io_lst/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctapipe_io_lst/__init__.py b/src/ctapipe_io_lst/__init__.py index d763b0e2..11bc7f37 100644 --- a/src/ctapipe_io_lst/__init__.py +++ b/src/ctapipe_io_lst/__init__.py @@ -494,7 +494,7 @@ def is_compatible(file_path): (header['XTENSION'] == 'BINTABLE') and (header['ZTABLE'] is True) and (header['ORIGIN'] == 'CTA') - and (header['PBFHEAD'] == 'R1.CameraEvent') + and (header['PBFHEAD'] in ('R1.CameraEvent', 'ProtoR1.CameraEvent')) ) is_lst_file = 'lstcam_counters' in ttypes