Closed christophwelling closed 3 years ago
Hi Christoph, thanks for taking care of this so quickly! I get the expected behavior now. I'm afraid I can't comment on the NuRadioReco/detector/sql_to_json.py
though.
@clark2668 Can you review this? You already took a look and I think it is easiest, if you check this as reviewer. We are trying to get NuRadioReco cleaned up before the end of next week. Thanks!
Sure, I'll take a look! I think I only have one final point of confusion.
Turns the SerializationMiddleware from TinyDB from a global variable into an attribute of the Detector class. This makes sure that each detector instance gets its own SerializationMiddleware object, to prevent interference between Detector instances.
Fix for #288
@cg-laser This breaks the script NuRadioReco/detector/sql_to_json.py I don't understand what this script is for or if we even need it any more.