From 82bf3bdf4402423746f2458382c6dab36908652c Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Thu, 17 Dec 2020 23:21:38 +0100
Subject: [PATCH] Change field name of pdgid following km3io changes

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

diff --git a/km3buu/tests/test_output.py b/km3buu/tests/test_output.py
index b383db7..963b229 100644
--- a/km3buu/tests/test_output.py
+++ b/km3buu/tests/test_output.py
@@ -95,7 +95,7 @@ class TestAANET(unittest.TestCase):
 
     def test_firstevent(self):
         evt = self.fobj.events[0]
-        np.testing.assert_array_equal(evt.mc_tracks.type,
+        np.testing.assert_array_equal(evt.mc_tracks.pdgid,
                                       [12, 2212, 111, 211, -211])
         np.testing.assert_array_almost_equal(
             evt.mc_tracks.E,
-- 
GitLab