From 05333f02fc5a1d3914ac3224513081f791d644c5 Mon Sep 17 00:00:00 2001 From: Tjark Miener Date: Tue, 26 Mar 2024 09:58:51 +0100 Subject: [PATCH] remove redundant code --- src/ctapipe/tools/process.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ctapipe/tools/process.py b/src/ctapipe/tools/process.py index 07538a67da9..52ae79dac0a 100644 --- a/src/ctapipe/tools/process.py +++ b/src/ctapipe/tools/process.py @@ -211,12 +211,6 @@ def should_compute_dl2(self): if self.force_recompute_dl2: return True - if ( - self.calibrate.process_flatfield_events - or self.calibrate.process_pedestal_events - ): - return False - return self.write.write_dl2 @property