From 90f43583231bbdfa7425cae5b6918ab35fec2d9f Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Sun, 29 Mar 2020 11:29:44 +0200 Subject: [PATCH] Generalise Branch class --- km3io/tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/km3io/tools.py b/km3io/tools.py index 16d8191..641f4c4 100644 --- a/km3io/tools.py +++ b/km3io/tools.py @@ -48,8 +48,8 @@ class Branch: if subbranchmaps is not None: for mapper in subbranchmaps: subbranch = self.__class__(self._tree, - mapper=mapper, - index=self._index) + mapper=mapper, + index=self._index) self._subbranches.append(subbranch) for subbranch in self._subbranches: setattr(self, subbranch._mapper.name, subbranch) -- GitLab