From 7f516f1c1f487db253fb4d8f5f44779e13d925b7 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Tue, 24 Nov 2020 19:33:47 +0100 Subject: [PATCH] yapf --- km3buu/output.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/km3buu/output.py b/km3buu/output.py index fe00988..c29042c 100644 --- a/km3buu/output.py +++ b/km3buu/output.py @@ -293,8 +293,9 @@ def write_detector_file(gibuu_output, ]) p_dir = rotation.apply(mom / np.linalg.norm(mom)) try: - prtcl_pos = np.array( - [particle_data.x[i], particle_data.y[i], particle_data.z[i]]) + prtcl_pos = np.array([ + particle_data.x[i], particle_data.y[i], particle_data.z[i] + ]) trk.pos.set(*np.add(pos_offset, prtcl_pos)) except AttributeError: trk.pos.set(*pos_offset) -- GitLab