From 8ed276cdd94fb5a380fa5a696d40c2407b7e500e Mon Sep 17 00:00:00 2001 From: Harshit Date: Sat, 6 Apr 2024 19:39:33 +0530 Subject: [PATCH] #181: Replaced np.int with int as the attribute is deprecated by numpy (#192) Co-authored-by: Nezar Abdennur --- bioframe/ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bioframe/ops.py b/bioframe/ops.py index 4e05717..51607ec 100644 --- a/bioframe/ops.py +++ b/bioframe/ops.py @@ -1095,7 +1095,7 @@ def _closest_intidxs( closest_intidxs.append(closest_idxs_group) if len(closest_intidxs) == 0: - return np.ndarray(shape=(0, 2), dtype=np.int64) + return np.ndarray(shape=(0, 2), dtype=int) closest_intidxs = np.vstack(closest_intidxs) return closest_intidxs