- 
                Notifications
    You must be signed in to change notification settings 
- Fork 78
Description
I noticed that when I'm using sliceBrowser and move to the next slice, and I add a few points in the new pair of slices, hitting h on Atlas Viewer results in a wrong number of slice points (points to be used to match histological slices and atlas slices). I receive an error message saying the number of points do not match between Slice Viewer and Atlas Viewer, although they clearly should.
eg. When I added 3 points each for the new slice on Slice Viewer and Atlas Viewer and had 16 points in the previous, I received this error message:
Unable to transform -- 19 slice points and 3 reference points
Apparently, AtlasTransformBrowser.m (around here) fails to update the number of points on the histological slice (ud_slice.pointList) and accumulate the points from the previous slice and ones added in the new slice, thus reporting too many slice points compared to reference points on atlas images.
I can manually delete the slice points by hitting d many times for the moment.