Skip to content

Commit

Permalink
Update nimare/meta/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: James Kent <[email protected]>
  • Loading branch information
adelavega and jdkent authored Jan 9, 2024
1 parent d661479 commit 2a26f09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nimare/meta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def compute_kda_ma(

if not sum_overlap:
all_spheres = unique_rows(all_spheres)

sphere_idx_inside_mask = np.where(mask_data[tuple(all_spheres.T)])[0]
all_spheres = all_spheres[sphere_idx_inside_mask, :]
# Combine experiment id with coordinates
all_coords.append(all_spheres)

Expand Down

0 comments on commit 2a26f09

Please sign in to comment.