From 72599590b698542b500b18984fccafa49360d1bd Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Wed, 10 Nov 2021 12:09:21 +0100
Subject: [PATCH] Fix global gen weight method (missing self)

---
 km3buu/output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/km3buu/output.py b/km3buu/output.py
index 7dd519f..c5cdd3c 100644
--- a/km3buu/output.py
+++ b/km3buu/output.py
@@ -353,7 +353,7 @@ class GiBUUOutput:
                                    bounds_error=False)
             return lambda e: xsec_interp(e) * e
 
-    def global_generation_weight(solid_angle):
+    def global_generation_weight(self, solid_angle):
         # I_E * I_theta * t_gen (* #NuTypes)
         if self.flux_data is not None:
             energy_phase_space = self.flux_interpolation.integral(
-- 
GitLab