mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Add back spaces around slice operator in openmc-track-to-vtk
This commit is contained in:
parent
4552b5b1ab
commit
99abca5007
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ def main():
|
|||
# Write coordinate values to points array.
|
||||
if fname.endswith('.binary'):
|
||||
track = open(fname, 'rb').read()
|
||||
coords = [struct.unpack("ddd", track[24*i:24*(i+1)])
|
||||
coords = [struct.unpack("ddd", track[24*i : 24*(i+1)])
|
||||
for i in range(len(track)/24)]
|
||||
n_points = len(coords)
|
||||
for triplet in coords:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue