Example #1
0
def test_collectpandasjoin():
    base_dir = str(Path(__file__).parent / "examples")
    func_path = base_dir + '/002/fmri'
    net_mets_csv = func_path + '/002_Default_net_metrics_cov_0.95_parc.csv'
    net_mets_csv_out = utils.collectpandasjoin(net_mets_csv)

    assert net_mets_csv == net_mets_csv_out
Example #2
0
def test_collectpandasjoin():
    base_dir = str(Path(__file__).parent / "examples")
    net_mets_csv = f"{base_dir}/miscellaneous/002_rsn-Default_nodetype-parc_" \
                   f"model-cov_template-MNI152_T1_thrtype-PROP_thr-0.95_" \
                   f"net_metrics.csv"
    net_mets_csv_out = utils.collectpandasjoin(net_mets_csv)

    assert net_mets_csv == net_mets_csv_out
Example #3
0
def test_collectpandasjoin():
    base_dir = os.path.abspath(
        pkg_resources.resource_filename("pynets", "../data/examples"))
    net_mets_csv = f"{base_dir}/miscellaneous/002_rsn-Default_nodetype-parc_" \
                   f"model-cov_template-MNI152_T1_thrtype-PROP_thr-0.95_" \
                   f"net_metrics.csv"
    net_mets_csv_out = utils.collectpandasjoin(net_mets_csv)

    assert net_mets_csv == net_mets_csv_out