a8320c343487d49e0571e3dbcda6baab6d8cdb4c,nilearn/surface/surface.py,,load_surf_mesh,#,810

Before Change


                         "or a list containing two Numpy arrays "
                         "[vertex coordinates, face indices]")

    return [coords, faces]


def _check_mesh(mesh):
    Check that mesh data is either a str, or a dict with sufficient

After Change


                              "array containing  the indices (into coords) of "
                              "the mesh faces. The input was a list with "
                              "%r elements.") % len(surf_mesh))
    elif (hasattr(surf_mesh, "faces") and hasattr(surf_mesh, "coordinates")):
        coords, faces = surf_mesh.coordinates, surf_mesh.faces
        mesh = Mesh(coordinates=coords, faces=faces)

    else:
        raise ValueError("The input type is not recognized. "
                         "Valid inputs are one of the following file "
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: nilearn/nilearn
Commit Name: a8320c343487d49e0571e3dbcda6baab6d8cdb4c
Time: 2021-01-25
Author: ju.huntenburg@gmail.com
File Name: nilearn/surface/surface.py
Class Name:
Method Name: load_surf_mesh


Project Name: nilearn/nilearn
Commit Name: a8320c343487d49e0571e3dbcda6baab6d8cdb4c
Time: 2021-01-25
Author: ju.huntenburg@gmail.com
File Name: nilearn/surface/surface.py
Class Name:
Method Name: load_surf_mesh


Project Name: pcyin/tranX
Commit Name: c49ac625274b16609d3d7031e8ae81495403a35a
Time: 2019-02-24
Author: pcyin@cs.cmu.edu
File Name: model/wikisql/dataset.py
Class Name: WikiSqlBatch
Method Name: table_head_input_tensor


Project Name: scikit-learn-contrib/lightning
Commit Name: a89e78e6c1052f8432eb1488df18362fabd9a0bd
Time: 2012-05-07
Author: mathieu@mblondel.org
File Name: lightning/sgd.py
Class Name: SGDClassifier
Method Name: predict


Project Name: kwgoodman/numerox
Commit Name: 8111dca56c8cc0770dbfecb015b8be22fbbaa76c
Time: 2018-09-17
Author: kwgoodman@gmail.com
File Name: numerox/model.py
Class Name: Model
Method Name: name