mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Another .value replacement in the track-to-vtk script.
This commit is contained in:
parent
1e2735df93
commit
2d94535627
1 changed files with 1 additions and 1 deletions
|
|
@ -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,:])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue