From e42054e575c6bd380d26c8e1d4167e7491d97acd Mon Sep 17 00:00:00 2001 From: Thomas Vuillaume Date: Tue, 17 Sep 2024 18:14:40 +0200 Subject: [PATCH] Fix dl2 paths bis (#496) * fix test DL2 and IRF paths including particle type to separate Gamma and GammaDiffuse * remove commented code * dec should be part of the paths --------- Co-authored-by: vuillaut --- lstmcpipe/config/paths_config.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lstmcpipe/config/paths_config.py b/lstmcpipe/config/paths_config.py index 55b2d868..26fb3f4f 100644 --- a/lstmcpipe/config/paths_config.py +++ b/lstmcpipe/config/paths_config.py @@ -805,13 +805,12 @@ def dl1_dir(self, pointing, dec=''): # no declination for DL1 for TestingDataset return super().dl1_dir(particle=self.particle, pointing=pointing, dataset_type=self.dataset_type, dec=dec) - - def dl2_dir(self, pointing, dec=''): + def dl2_dir(self, pointing): # no declination for DL2 for TestingDataset - return super().dl2_dir(particle=self.particle, pointing=pointing, dataset_type=self.dataset_type, dec=dec) + return super().dl2_dir(particle=self.particle, pointing=pointing, dataset_type=self.dataset_type, dec=self.dec) - def irf_dir(self, pointing, dec=''): - return super().irf_dir(particle=self.particle, pointing=pointing, dataset_type=self.dataset_type, dec=dec) + def irf_dir(self, pointing): + return super().irf_dir(particle=self.particle, pointing=pointing, dataset_type=self.dataset_type, dec=self.dec) @property