Skip to content

Commit d0f284a

Browse files
authored
match z alignment to AZ seg
1 parent c028aa9 commit d0f284a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse_net/imod/to_imod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def _pad(inp, n=3):
214214
# (y, x) indexing, single z-plane
215215
x = _pad(coord[1])
216216
y = _pad(shape[0] - coord[0])
217-
z=_pad(1)
217+
z=_pad(0)
218218

219219
f.write(f"{x}{y}{z}{_pad(radius, 2)}\n")
220220
cmd = [cmd, "-si", "-scat", fname, output_path]

0 commit comments

Comments
 (0)