Skip to content

Commit

Permalink
Fix for py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
calebshibu committed May 17, 2024
1 parent aec4384 commit 3e936d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite2p/detection/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ROI:
lam: np.ndarray
med: np.ndarray
do_crop: bool
if sys.version_info >= (3, 12):
if sys.version_info >= (3, 11):
rsort: np.ndarray = field(default_factory=default_rsort, repr=False)
else:
rsort: np.ndarray = field(default=np.sort(distance_kernel(radius=30).flatten()), repr=False)
Expand Down

0 comments on commit 3e936d3

Please sign in to comment.