Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjark Miener authored and Tjark Miener committed Mar 26, 2024
1 parent b43564f commit 05333f0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ctapipe/tools/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05333f0

Please sign in to comment.