def test_load_surf_data_gii_gz(): # Test the loader `load_surf_data` with gzipped fsaverage5 files # surface data fsaverage = datasets.fetch_surf_fsaverage().sulc_left gii = _load_surf_files_gifti_gzip(fsaverage) assert isinstance(gii, gifti.GiftiImage) data = load_surf_data(fsaverage) assert isinstance(data, np.ndarray) # surface mesh fsaverage = datasets.fetch_surf_fsaverage().pial_left gii = _load_surf_files_gifti_gzip(fsaverage) assert isinstance(gii, gifti.GiftiImage)
def test_load_surf_data_gii_gz(): # Test the loader `load_surf_data` with gzipped fsaverage5 files # surface data fsaverage = datasets.fetch_surf_fsaverage().sulc_left gii = _load_surf_files_gifti_gzip(fsaverage) assert_true(isinstance(gii, gifti.GiftiImage)) data = load_surf_data(fsaverage) assert_true(isinstance(data, np.ndarray)) # surface mesh fsaverage = datasets.fetch_surf_fsaverage().pial_left gii = _load_surf_files_gifti_gzip(fsaverage) assert_true(isinstance(gii, gifti.GiftiImage))