Skip to content

Commit

Permalink
Return rootIDs as int64, not uint64, for consistency with other fns
Browse files Browse the repository at this point in the history
  • Loading branch information
jasper-tms committed May 20, 2023
1 parent 88c63ea commit bd91530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fanc/lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def segids_from_pts(pts,
else:
cv = auth.get_cloudvolume()

return cv.get_roots(svids, timestamp=timestamp)
return cv.get_roots(svids, timestamp=timestamp).astype(np.int64)

This comment has been minimized.

Copy link
@william-silversmith

william-silversmith Jul 3, 2024

You can avoid a copy here by using .view instead.

This comment has been minimized.

Copy link
@jasper-tms

jasper-tms Jul 4, 2024

Author Contributor

Thanks for the tip!



anchor_point_sources = ['somas_dec2022', 'peripheral_nerves', 'neck_connective']
Expand Down

0 comments on commit bd91530

Please sign in to comment.