Commit ce312df9 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

It's now GiftiMesh, not GiftiSurface

parent 3a0eea53
......@@ -58,7 +58,7 @@ class GiftiMesh(fslmesh.Mesh):
def __init__(self, infile, fixWinding=False, loadAll=False):
"""Load the given GIFTI file using ``nibabel``, and extracts surface
data using the :func:`loadGiftiSurface` function.
data using the :func:`loadGiftiMesh` function.
:arg infile: A GIFTI surface file (``*.surf.gii``).
......@@ -76,7 +76,7 @@ class GiftiMesh(fslmesh.Mesh):
name = fslpath.removeExt(op.basename(infile), ALLOWED_EXTENSIONS)
infile = op.abspath(infile)
surfimg, vertices, indices = loadGiftiSurface(infile)
surfimg, vertices, indices = loadGiftiMesh(infile)
......@@ -96,7 +96,7 @@ class GiftiMesh(fslmesh.Mesh):
for sfile in surfFiles:
surfimg, vertices, _ = loadGiftiSurface(sfile)
surfimg, vertices, _ = loadGiftiMesh(sfile)
if vertices.shape[0] != nvertices:
......@@ -109,7 +109,7 @@ class GiftiMesh(fslmesh.Mesh):
"""Overrides the :meth:`.TriangleMesh.loadVertexData` method.
Attempts to load data associated with each vertex of this
``GiftiSurface`` from the given ``dataSource``, which may be
``GiftiMesh`` from the given ``dataSource``, which may be
a GIFTI file or a plain text file which contains vertex data.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment