From c3f57cd977308b218adf350bf2a3d12b6c1b0fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20N=C3=B6the?= Date: Thu, 14 Mar 2019 16:33:08 +0100 Subject: [PATCH] Adapt to ctapipe master, fixes #5 --- ctapipe_io_lst/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ctapipe_io_lst/__init__.py b/ctapipe_io_lst/__init__.py index 0b878f5d..66b8c834 100644 --- a/ctapipe_io_lst/__init__.py +++ b/ctapipe_io_lst/__init__.py @@ -28,7 +28,7 @@ class LSTEventSource(EventSource): """EventSource for LST r0 data.""" - def __init__(self, config=None, tool=None, **kwargs): + def __init__(self, **kwargs): """ Constructor Parameters @@ -55,9 +55,9 @@ def __init__(self, config=None, tool=None, **kwargs): self.file_list = glob.glob(kwargs['input_url']) self.file_list.sort() kwargs['input_url'] = self.file_list[0] - super().__init__(config=config, tool=tool, **kwargs) + super().__init__(**kwargs) else: - super().__init__(config=config, tool=tool, **kwargs) + super().__init__(**kwargs) self.file_list = [self.input_url] self.multi_file = MultiFiles(self.file_list)