Skip to content

Commit 3489763

Browse files
committed
needles2 regression atlas compute top
1 parent 4ce7920 commit 3489763

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

needles2/run_needles2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,7 @@ def __init__(self, topview: TopView, qmain: MainWindow, atlas: AllenAtlas):
11391139
self.scatter_layers = []
11401140

11411141
def set_top(self):
1142+
self.atlas.compute_surface()
11421143
img = self.atlas.top.transpose()
11431144
img[np.isnan(img)] = np.nanmin(img) # img has dims ml, ap
11441145
dw, dh = (self.atlas.bc.dxyz[0], self.atlas.bc.dxyz[1])

0 commit comments

Comments
 (0)