From 2d94535627a1aeeb6578eb6816ca4c127ab6b1f4 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Sat, 31 Oct 2020 00:20:00 -0500 Subject: [PATCH] Another .value replacement in the track-to-vtk script. --- scripts/openmc-track-to-vtk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/openmc-track-to-vtk b/scripts/openmc-track-to-vtk index fa154a2a7f..3c781d19ec 100755 --- a/scripts/openmc-track-to-vtk +++ b/scripts/openmc-track-to-vtk @@ -46,7 +46,7 @@ def main(): n_coords = track.attrs['n_coords'] coords = [] for i in range(n_particles): - coords.append(track['coordinates_' + str(i + 1)].value) + coords.append(track['coordinates_' + str(i + 1)][()]) for j in range(n_coords[i]): points.InsertNextPoint(coords[i][j,:])