def test_fetch_development_fmri_functional(): csv = _mock_participants_data(n_ids=8) local_url = 'file://' + os.path.join(tst.datadir) funcs, confounds = func._fetch_development_fmri_functional( csv, data_dir=tst.tmpdir, url=local_url, verbose=1) assert_equal(len(funcs), 8) assert_equal(len(confounds), 8)
def test_fetch_development_fmri_functional(tmp_path, request_mocker): csv = _mock_participants_data(n_ids=8) local_url = 'file://' + os.path.join(tst.datadir) funcs, confounds = func._fetch_development_fmri_functional( csv, data_dir=str(tmp_path), url=local_url, resume=True, verbose=1) assert len(funcs) == 8 assert len(confounds) == 8
def test_fetch_development_fmri_functional(tmp_path, request_mocker): mock_participants = _mock_participants_data(n_ids=8) funcs, confounds = func._fetch_development_fmri_functional( mock_participants, data_dir=str(tmp_path), url=None, resume=True, verbose=1) assert len(funcs) == 8 assert len(confounds) == 8
def test_fetch_development_fmri_functional(): csv = _mock_participants_data(n_ids=8) local_url = 'file://' + os.path.join(tst.datadir) funcs, confounds = func._fetch_development_fmri_functional(csv, data_dir=tst.tmpdir, url=local_url, verbose=1) assert_equal(len(funcs), 8) assert_equal(len(confounds), 8)