From f024e7c6f3d4a7010b0cd9ea4a1240750e5cfd68 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Thu, 16 Dec 2021 03:08:14 +0100
Subject: [PATCH] YAPF

---
 km3buu/physics.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/km3buu/physics.py b/km3buu/physics.py
index fd29570..52954ef 100644
--- a/km3buu/physics.py
+++ b/km3buu/physics.py
@@ -98,6 +98,7 @@ HE_PARAMS = {
     "Mkref": 2.698,
 }
 
+
 @np.vectorize
 def visible_energy_fraction(pdgid, energy):
     """
@@ -132,7 +133,7 @@ def visible_energy_fraction(pdgid, energy):
         weight = neutron_weight(tmp)
     elif pdgid == 2122:
         weight = proton_weight(tmp)
-    elif pdgid in [12,-12,14,-14,16,-16, -13, 13, 15, -15]:
+    elif pdgid in [12, -12, 14, -14, 16, -16, -13, 13, 15, -15]:
         weight = 0.0
     else:
         weight = proton_weight(tmp)
-- 
GitLab