Skip to content

Commit

Permalink
Update detector_base.py: Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fschlueter authored Jan 29, 2025
1 parent aadf109 commit 27b73e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions NuRadioReco/detector/detector_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 27b73e6

Please sign in to comment.