c89d274b734d5a3be34607ccc8e4f54507121a09,pynets/workflows.py,,rsn_functional_connectometry,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,269

Before Change


    //res = rsn_functional_connectometry_wf.run()

    try:
        thr=list(res.nodes())[-1].result.outputs.thr
        est_path=list(res.nodes())[-1].result.outputs.est_path
    except AttributeError:
        try:

After Change


    res = rsn_functional_connectometry_wf.run(plugin="MultiProc")

    out_node = [x for x in list(res.nodes()) if str(x) == [x for x in [str(i) for i in list(res.nodes())] if "outputnode" in x][-1]][0]
    try:
        thr=out_node.result.outputs.thr
        est_path=out_node.result.outputs.est_path
    except AttributeError:
        print("Workflow failed!")
    return est_path, thr

def wb_structural_connectometry(ID, atlas_select, network, node_size, mask, parlistfile, plot_switch, parc, ref_txt, procmem, dir_path, bedpostx_dir, label_names, anat_loc):
    from nipype.pipeline import engine as pe
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dPys/PyNets
Commit Name: c89d274b734d5a3be34607ccc8e4f54507121a09
Time: 2018-01-19
Author: dpisner@utexas.edu
File Name: pynets/workflows.py
Class Name:
Method Name: rsn_functional_connectometry


Project Name: dPys/PyNets
Commit Name: c89d274b734d5a3be34607ccc8e4f54507121a09
Time: 2018-01-19
Author: dpisner@utexas.edu
File Name: pynets/workflows.py
Class Name:
Method Name: wb_functional_connectometry


Project Name: rusty1s/pytorch_geometric
Commit Name: c0458f0c0fb84c27570d91c6a971e29109649fca
Time: 2020-01-06
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/utils/convert.py
Class Name:
Method Name: from_networkx