From 1c8b005a008a1e3ea75bab7c28eb999b0441b28d Mon Sep 17 00:00:00 2001
From: Rodri <rgruiz0001@gmail.com>
Date: Mon, 21 Feb 2022 17:47:36 +0100
Subject: [PATCH] bug

---
 km3io/utils/KModuleRates.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/km3io/utils/KModuleRates.py b/km3io/utils/KModuleRates.py
index 3c8e5ed..b726c3e 100644
--- a/km3io/utils/KModuleRates.py
+++ b/km3io/utils/KModuleRates.py
@@ -71,7 +71,7 @@ def main():
 
     dom2index = {}
     index2dom = {}
-    for idx, dom in enumerate(detector.dom_ids):
+    for idx, dom in enumerate(dom_ids):
         dom2index[dom] = idx
         index2dom[idx] = dom
 
-- 
GitLab