Skip to content

Commit cefb8c6

Browse files
RF: replace ~surface_mask with volume_mask
1 parent 063047f commit cefb8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/cifti2/cifti2_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def __eq__(self, other):
604604
self.volume_shape == other.volume_shape) and
605605
self.nvertices == other.nvertices and
606606
np.array_equal(self.name, other.name) and
607-
np.array_equal(self.voxel[~self.surface_mask], other.voxel[~other.surface_mask]) and
607+
np.array_equal(self.voxel[self.volume_mask], other.voxel[self.volume_mask]) and
608608
np.array_equal(self.vertex[self.surface_mask], other.vertex[other.surface_mask])
609609
)
610610

0 commit comments

Comments
 (0)