Skip to content

Commit 86dc904

Browse files
committed
FIX: More
1 parent 5f4152e commit 86dc904

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

doc/sphinxext/related_software.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
"Home-page": "https://users.aalto.fi/~vanvlm1/posthoc/python",
5252
"Summary": "post-hoc modification of linear models",
5353
},
54+
# https://github.com/freesurfer/surfa/pull/66
55+
"surfa": {
56+
"Home-page": "https://github.com/freesurfer/surfa",
57+
"Summary": "Utilities for medical image and surface processing.",
58+
},
5459
# This package does not provide wheels, so don't force CircleCI to build it.
5560
# If it eventually provides binary wheels we could add it to
5661
# `tools/circleci_dependencies.sh` and remove from here.

mne/surface.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -805,11 +805,11 @@ def _call_pyvista(self, rr):
805805
pdata = _surface_to_polydata(dict(rr=rr))
806806
# PyVista 0.47+
807807
meth = (
808-
self.pdata.select_interior_points
809-
if hasattr(self.pdata, "select_interior_points")
810-
else self.pdata.select_enclosed_points
808+
pdata.select_interior_points
809+
if hasattr(pdata, "select_interior_points")
810+
else pdata.select_enclosed_points
811811
)
812-
out = meth(pdata, check_surface=False)
812+
out = meth(self.pdata, check_surface=False)
813813
return out["SelectedPoints"].astype(bool)
814814

815815
def _call_old(self, rr, n_jobs):

0 commit comments

Comments
 (0)