diff --git a/km3io/offline.py b/km3io/offline.py index 29c34d306bdcb21fa45c6c58a73020207ba3eebf..c331df9ddab21782e100fa68e8092351f28bb54b 100644 --- a/km3io/offline.py +++ b/km3io/offline.py @@ -431,8 +431,7 @@ class OfflineReader: def usr(self): return Usr(self._file_path) - @cached_property - def best_reco(self): + def get_best_reco(self): """returns the best reconstructed track fit data. The best fit is defined as the track fit with the maximum reconstruction stages. When "nan" is returned, it means that the reconstruction parameter of interest is not diff --git a/tests/test_offline.py b/tests/test_offline.py index dab4fddac7931226e2f86f972932cb659363e471..711969c3e32252989912a32f07e0870f39e3d0fa 100644 --- a/tests/test_offline.py +++ b/tests/test_offline.py @@ -244,7 +244,7 @@ class TestOfflineReader(unittest.TestCase): 0.0014177681261476852, 0.002094094517471032, 0.003923368624980349, 0.009491461076780453 ] - best = self.nu.best_reco + best = self.nu.get_best_reco() self.assertEqual(best.size, 9) self.assertEqual(best['JGANDALF_BETA1_RAD'][:4].tolist(),