@testing.requires_testing_data
@requires_freesurfer
@requires_nibabel()
def test_vertex_to_mni_fs_nibabel():
    n_check = 1000
    subject = 'sample'
    vertices = rng.randint(0, 100000, n_check)
    hemis = rng.randint(0, 1, n_check)
    coords = vertex_to_mni(vertices, hemis, subject, subjects_dir,
                           'nibabel')
    coords_2 = vertex_to_mni(vertices, hemis, subject, subjects_dir,
                             'freesurfer')
    # less than 0.1 mm error
    assert_allclose(coords, coords_2, atol=0.1)
Test for issue #74 issues.
dataset/ETHPy150Open mne-tools/mne-python/mne/tests/test_source_space.py/test_vertex_to_mni_fs_nibabel--crossover with--dataset/ETHPy150Open inpho/vsm/unit_tests/tests_ldacgsseq.py/TestLdaCgsSeq.test_LdaCgsSeq_SeedTypes