Skip to content

Commit

Permalink
Changing format strings so that TP export is more efficient
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekLogan committed Jan 10, 2021
1 parent 79b0fc0 commit 2eb7ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngauge/TracingPoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def to_swc(self, fname=None):
memory[a] = i

# Columns: id t x y z r pid
out.append("%d %d %f %f %f %f %d" % (i, a.t, a.x, a.y, a.z, a.r, parent))
out.append("%d %d %g %g %g %g %d" % (i, a.t, a.x, a.y, a.z, a.r, parent))
i += 1

out = "\n".join(out)
Expand Down

0 comments on commit 2eb7ea6

Please sign in to comment.