From 8ae3cd5660bbf1acb6c2e7dd30683a1eda84bfbb Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Thu, 12 Oct 2023 02:35:06 -0500 Subject: [PATCH] fix typo from refactor --- src/coffea/nanoevents/factory.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/coffea/nanoevents/factory.py b/src/coffea/nanoevents/factory.py index 9bed55ed2..123f6a131 100644 --- a/src/coffea/nanoevents/factory.py +++ b/src/coffea/nanoevents/factory.py @@ -181,9 +181,7 @@ def load_buffers(self, tree, keys, start, stop, interp_options): # partition key. Therefore, we must translate the keys here. def translate_key(index): form_key, attribute = self.parse_buffer_key(index) - return mapping[ - buffer_key(form_key=form_key, attribute=attribute, form=None) - ] + return buffer_key(form_key=form_key, attribute=attribute, form=None) return _TranslatedMapping(translate_key, mapping)