From 27b73e6cd76fdf7db1232eaa9b22cc8a42349c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schl=C3=BCter?= <30903175+fschlueter@users.noreply.github.com> Date: Wed, 29 Jan 2025 13:49:54 +0100 Subject: [PATCH] Update detector_base.py: Revert changes --- NuRadioReco/detector/detector_base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NuRadioReco/detector/detector_base.py b/NuRadioReco/detector/detector_base.py index 58a1d879b..f4cb81386 100644 --- a/NuRadioReco/detector/detector_base.py +++ b/NuRadioReco/detector/detector_base.py @@ -175,8 +175,7 @@ def __init__(self, source='json', json_filename='ARIANNA/arianna_detector_db.jso stations_table.insert(station) channels_table = self._db.table('channels', cache_size=1000) for channel in dictionary['channels'].values(): - ch = dict(**channel) - channels_table.insert(ch) + channels_table.insert(channel) else: self._db = TinyDB( json_filename,