Data Input

To do any computation, you need to have data. Getting the data in the framework of a workflow is therefore the first step of every analysis. Nipype provides many different modules to grab or select the data:

DataFinder
DataGrabber
FreeSurferSource
JSONFileGrabber
S3DataGrabber
SSHDataGrabber
SelectFiles
XNATSource

This tutorial will only cover some of them. For the rest, see the section interfaces.io on the official homepage.

Dataset structure

To be able to import data, you first need to be aware of the structure of your dataset. The structure of the dataset for this tutorial is according to BIDS, and looks as follows:

ds000114
├── CHANGES
├── dataset_description.json
├── derivatives
│   ├── fmriprep
│   │   └── sub01...sub10
│   │        └── ...
│   ├── freesurfer
│       ├── fsaverage
│       ├── fsaverage5
│   │   └── sub01...sub10
│   │        └── ...
├── dwi.bval
├── dwi.bvec
├── sub-01
│   ├── ses-retest    
│       ├── anat
│       │   └── sub-01_ses-retest_T1w.nii.gz
│       ├──func
│           ├── sub-01_ses-retest_task-covertverbgeneration_bold.nii.gz
│           ├── sub-01_ses-retest_task-fingerfootlips_bold.nii.gz
│           ├── sub-01_ses-retest_task-linebisection_bold.nii.gz
│           ├── sub-01_ses-retest_task-linebisection_events.tsv
│           ├── sub-01_ses-retest_task-overtverbgeneration_bold.nii.gz
│           └── sub-01_ses-retest_task-overtwordrepetition_bold.nii.gz
│       └── dwi
│           └── sub-01_ses-retest_dwi.nii.gz
│   ├── ses-test    
│       ├── anat
│       │   └── sub-01_ses-test_T1w.nii.gz
│       ├──func
│           ├── sub-01_ses-test_task-covertverbgeneration_bold.nii.gz
│           ├── sub-01_ses-test_task-fingerfootlips_bold.nii.gz
│           ├── sub-01_ses-test_task-linebisection_bold.nii.gz
│           ├── sub-01_ses-test_task-linebisection_events.tsv
│           ├── sub-01_ses-test_task-overtverbgeneration_bold.nii.gz
│           └── sub-01_ses-test_task-overtwordrepetition_bold.nii.gz
│       └── dwi
│           └── sub-01_ses-retest_dwi.nii.gz
├── sub-02..sub-10
│   └── ...
├── task-covertverbgeneration_bold.json
├── task-covertverbgeneration_events.tsv
├── task-fingerfootlips_bold.json
├── task-fingerfootlips_events.tsv
├── task-linebisection_bold.json
├── task-overtverbgeneration_bold.json
├── task-overtverbgeneration_events.tsv
├── task-overtwordrepetition_bold.json
└── task-overtwordrepetition_events.tsv

DataGrabber

DataGrabber is an interface for collecting files from hard drive. It is very flexible and supports almost any file organization of your data you can imagine.

You can use it as a trivial use case of getting a fixed file. By default, DataGrabber stores its outputs in a field called outfiles.

import nipype.interfaces.io as nio
datasource1 = nio.DataGrabber()
datasource1.inputs.base_directory = '/data/ds000114'
datasource1.inputs.template = 'sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz'
datasource1.inputs.sort_filelist = True
results = datasource1.run()
results.outputs
outfiles = /data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz

Or you can get at all NIfTI files containing the word 'fingerfootlips' in all directories starting with the letter 's'.

import nipype.interfaces.io as nio
datasource2 = nio.DataGrabber()
datasource2.inputs.base_directory = '/data/ds000114'
datasource2.inputs.template = 's*/ses-test/func/*fingerfootlips*.nii.gz'
datasource2.inputs.sort_filelist = True
results = datasource2.run()
results.outputs
outfiles = ['/data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz', '/data/ds000114/sub-02/ses-test/func/sub-02_ses-test_task-fingerfootlips_bold.nii.gz', '/data/ds000114/sub-03/ses-test/func/sub-03_ses-test_task-fingerfootlips_bold.nii.gz', '/data/ds000114/sub-07/ses-test/func/sub-07_ses-test_task-fingerfootlips_bold.nii.gz']

Two special inputs were used in these previous cases. The input base_directory indicates in which directory to search, while the input template indicates the string template to match. So in the previous case DataGrabber is looking for path matches of the form /data/ds000114/s*/ses-test/func/*fingerfootlips*.nii.gz.

**Note**: When used with wildcards (e.g., `s*` and `*fingerfootlips*` above) `DataGrabber` does not return data in sorted order. In order to force it to return data in a sorted order, one needs to set the input `sorted = True`. However, when explicitly specifying an order as we will see below, `sorted` should be set to `False`.

More use cases arise when the template can be filled by other inputs. In the example below, we define an input field for DataGrabber called subject_id. This is then used to set the template (see %d in the template).

datasource3 = nio.DataGrabber(infields=['subject_id'])
datasource3.inputs.base_directory = '/data/ds000114'
datasource3.inputs.template = 'sub-%02d/ses-test/func/*fingerfootlips*.nii.gz'
datasource3.inputs.sort_filelist = True
datasource3.inputs.subject_id = [1, 7]
results = datasource3.run()
results.outputs
outfiles = ['/data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz', '/data/ds000114/sub-07/ses-test/func/sub-07_ses-test_task-fingerfootlips_bold.nii.gz']

This will return the functional images from subject 1 and 7 for the task fingerfootlips. We can take this a step further and pair subjects with task.

# NBVAL_SKIP
datasource4 = nio.DataGrabber(infields=['subject_id', 'run'])
datasource4.inputs.base_directory = '/data/ds000114'
datasource4.inputs.template = 'sub-%02d/ses-test/func/*%s*.nii.gz'
datasource4.inputs.sort_filelist = True
datasource4.inputs.run = ['fingerfootlips', 'fingerfootlips']
datasource4.inputs.subject_id = [1, 7]
results = datasource4.run()
results.outputs
outfiles = ['/data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz', '/data/ds000114/sub-07/ses-test/func/sub-07_ses-test_task-fingerfootlips_bold.nii.gz']

A more realistic use-case

DataGrabber is a generic data grabber module that wraps around glob to select your neuroimaging data in an intelligent way. As an example, let’s assume we want to grab the anatomical and functional images of a certain subject.

First, we need to create the DataGrabber node. This node needs to have some input fields for all dynamic parameters (e.g. subject identifier, task identifier), as well as the two desired output fields anat and func.

from nipype import DataGrabber, Node

# Create DataGrabber node
dg = Node(DataGrabber(infields=['subject_id', 'ses_name', 'task_name'],
                      outfields=['anat', 'func']),
          name='datagrabber')

# Location of the dataset folder
dg.inputs.base_directory = '/data/ds000114'

# Necessary default parameters
dg.inputs.template = '*'
dg.inputs.sort_filelist = True

Second, we know that the two files we desire are the the following location:

anat = /data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz
func = /data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz

We see that the two files only have three dynamic parameters between subjects and task names:

subject_id: in this case 'sub-01'
task_name: in this case fingerfootlips
ses_name: test

This means that we can rewrite the paths as follows:

anat = /data/ds102/[subject_id]/ses-[ses_name]/anat/sub-[subject_id]_ses-[ses_name]_T1w.nii.gz
func = /data/ds102/[subject_id]/ses-[ses_name]/func/sub-[subject_id]_ses-[ses_name]_task-[task_name]_bold.nii.gz

Therefore, we need the parameters subject_id and ses_name for the anatomical image and the parameters subject_id, ses_name and task_name for the functional image. In the context of DataGabber, this is specified as follows:

dg.inputs.template_args = {'anat': [['subject_id', 'ses_name']],
                           'func': [['subject_id', 'ses_name', 'task_name']]}

Now, comes the most important part of DataGrabber. We need to specify the template structure to find the specific data. This can be done as follows.

dg.inputs.field_template = {'anat': 'sub-%02d/ses-%s/anat/*_T1w.nii.gz',
                            'func': 'sub-%02d/ses-%s/func/*task-%s_bold.nii.gz'}

You’ll notice that we use %s, %02d and * for placeholders in the data paths. %s is a placeholder for a string and is filled out by task_name or ses_name. %02d is a placeholder for a integer number and is filled out by subject_id. * is used as a wild card, e.g. a placeholder for any possible string combination. This is all to set up the DataGrabber node.

Above, two more fields are introduced: field_template and template_args. These fields are both dictionaries whose keys correspond to the outfields keyword. The field_template reflects the search path for each output field, while the template_args reflect the inputs that satisfy the template. The inputs can either be one of the named inputs specified by the infields keyword arg or it can be raw strings or integers corresponding to the template. For the func output, the %s in the field_template is satisfied by subject_id and the %d is filled in by the list of numbers.

Now it is up to you how you want to feed the dynamic parameters into the node. You can either do this by using another node (e.g. IdentityInterface) and feed subject_id, ses_name and task_name as connections to the DataGrabber node or specify them directly as node inputs.

# Using the IdentityInterface
from nipype import IdentityInterface
infosource = Node(IdentityInterface(fields=['subject_id', 'task_name']),
                  name="infosource")
infosource.inputs.task_name = "fingerfootlips"
infosource.inputs.ses_name = "test"
subject_id_list = [1, 2]
infosource.iterables = [('subject_id', subject_id_list)]

Now you only have to connect infosource with your DataGrabber and run the workflow to iterate over subjects 1 and 2.

You can also provide the inputs to the DataGrabber node directly, for one subject you can do this as follows:

# Specifying the input fields of DataGrabber directly
dg.inputs.subject_id = 1
dg.inputs.ses_name = "test"
dg.inputs.task_name = "fingerfootlips"

Now let’s run the DataGrabber node and let’s look at the output:

dg.run().outputs
211017-16:43:22,854 nipype.workflow INFO:
	 [Node] Setting-up "datagrabber" in "/tmp/tmp18_uhc06/datagrabber".
211017-16:43:22,864 nipype.workflow INFO:
	 [Node] Running "datagrabber" ("nipype.interfaces.io.DataGrabber")
211017-16:43:22,873 nipype.workflow INFO:
	 [Node] Finished "datagrabber".
anat = /data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz
func = /data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz

Exercise 1

Grab T1w images from both sessions - ses-test and ses-retest for sub-01.

# write your solution here
# NBVAL_SKIP
from nipype import DataGrabber, Node

# Create DataGrabber node
ex1_dg = Node(DataGrabber(infields=['subject_id', 'ses_name'],
                      outfields=['anat']),
          name='datagrabber')

# Location of the dataset folder
ex1_dg.inputs.base_directory = '/data/ds000114'

# Necessary default parameters
ex1_dg.inputs.template = '*'
ex1_dg.inputs.sort_filelist = True

# specify the template
ex1_dg.inputs.template_args = {'anat': [['subject_id', 'ses_name']]}
ex1_dg.inputs.field_template = {'anat': 'sub-%02d/ses-%s/anat/*_T1w.nii.gz'}

# specify subject_id and ses_name you're interested in
ex1_dg.inputs.subject_id = 1
ex1_dg.inputs.ses_name = ["test", "retest"]

# and run the node
ex1_res = ex1_dg.run()
# you can now check the output
ex1_res.outputs

SelectFiles

SelectFiles is a more flexible alternative to DataGrabber. It is built on Python format strings, which are similar to the Python string interpolation feature you are likely already familiar with, but advantageous in several respects. Format strings allow you to replace named sections of template strings set off by curly braces ({}), possibly filtered through a set of functions that control how the values are rendered into the string. As a very basic example, we could write

msg = "This workflow uses {package}."

and then format it with keyword arguments:

print(msg.format(package="FSL"))
This workflow uses FSL.

SelectFiles uses the {}-based string formatting syntax to plug values into string templates and collect the data. These templates can also be combined with glob wild cards. The field names in the formatting template (i.e. the terms in braces) will become inputs fields on the interface, and the keys in the templates dictionary will form the output fields.

Let’s focus again on the data we want to import:

anat = /data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz
func = /data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz

Now, we can replace those paths with the according {}-based strings.

anat = /data/ds000114/sub-{subject_id}/ses-{ses_name}/anat/sub-{subject_id}_ses-{ses_name}_T1w.nii.gz
func = /data/ds000114/sub-{subject_id}/ses-{ses_name}/func/ \
        sub-{subject_id}_ses-{ses_name}_task-{task_name}_bold.nii.gz

How would this look like as a SelectFiles node?

from nipype import SelectFiles, Node

# String template with {}-based strings
templates = {'anat': 'sub-{subject_id}/ses-{ses_name}/anat/sub-{subject_id}_ses-{ses_name}_T1w.nii.gz',
             'func': 'sub-{subject_id}/ses-{ses_name}/func/sub-{subject_id}_ses-{ses_name}_task-{task_name}_bold.nii.gz'}

# Create SelectFiles node
sf = Node(SelectFiles(templates),
          name='selectfiles')

# Location of the dataset folder
sf.inputs.base_directory = '/data/ds000114'

# Feed {}-based placeholder strings with values
sf.inputs.subject_id = '01'
sf.inputs.ses_name = "test"
sf.inputs.task_name = 'fingerfootlips'

Let’s check if we get what we wanted.

sf.run().outputs
211017-16:43:29,49 nipype.workflow INFO:
	 [Node] Setting-up "selectfiles" in "/tmp/tmpbuhqjtjx/selectfiles".
211017-16:43:29,60 nipype.workflow INFO:
	 [Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211017-16:43:29,69 nipype.workflow INFO:
	 [Node] Finished "selectfiles".
anat = /data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz
func = /data/ds000114/sub-01/ses-test/func/sub-01_ses-test_task-fingerfootlips_bold.nii.gz

Perfect! But why is SelectFiles more flexible than DataGrabber? First, you perhaps noticed that with the {}-based string, we can reuse the same input (e.g. subject_id) multiple time in the same string, without feeding it multiple times into the template.

Additionally, you can also select multiple files without the need of an iterable node. For example, let’s assume we want to select anatomical images for all subjects at once. We can do this by using the eildcard * in a template:

'sub-*/anat/sub-*_T1w.nii.gz'

Let’s see how this works:

from nipype import SelectFiles, Node

# String template with {}-based strings
templates = {'anat': 'sub-*/ses-{ses_name}/anat/sub-*_ses-{ses_name}_T1w.nii.gz'}


# Create SelectFiles node
sf = Node(SelectFiles(templates),
          name='selectfiles')

# Location of the dataset folder
sf.inputs.base_directory = '/data/ds000114'

# Feed {}-based placeholder strings with values
sf.inputs.ses_name = 'test'

# Print SelectFiles output
sf.run().outputs
211017-16:43:29,625 nipype.workflow INFO:
	 [Node] Setting-up "selectfiles" in "/tmp/tmpdl40fuw1/selectfiles".
211017-16:43:29,631 nipype.workflow INFO:
	 [Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211017-16:43:29,645 nipype.workflow INFO:
	 [Node] Finished "selectfiles".
anat = ['/data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz', '/data/ds000114/sub-02/ses-test/anat/sub-02_ses-test_T1w.nii.gz', '/data/ds000114/sub-03/ses-test/anat/sub-03_ses-test_T1w.nii.gz', '/data/ds000114/sub-07/ses-test/anat/sub-07_ses-test_T1w.nii.gz']

As you can see, now anat contains ten file paths, T1w images for all ten subject.

As a side note, you could also use [] string formatting for some simple cases, e.g. for loading only subject 1 and 2:

'sub-0[1,2]/ses-test/anat/sub-0[1,2]_ses-test_T1w.nii.gz'

force_lists

There’s an additional parameter, force_lists, which controls how SelectFiles behaves in cases where only a single file matches the template. The default behavior is that when a template matches multiple files they are returned as a list, while a single file is returned as a string. There may be situations where you want to force the outputs to always be returned as a list (for example, you are writing a workflow that expects to operate on several runs of data, but some of your subjects only have a single run). In this case, force_lists can be used to tune the outputs of the interface. You can either use a boolean value, which will be applied to every output the interface has, or you can provide a list of the output fields that should be coerced to a list.

Returning to our previous example, you may want to ensure that the anat files are returned as a list, but you only ever will have a single T1 file. In this case, you would do

sf = SelectFiles(templates, force_lists=["anat"])

Exercise 2

Use SelectFile to select again T1w images from both sessions - ses-test and ses-retest for sub-01.

# write your solution here
from nipype import SelectFiles, Node

# String template with {}-based strings
templates = {'anat': 'sub-01/ses-*/anat/sub-01_ses-*_T1w.nii.gz'}
             

# Create SelectFiles node
sf = Node(SelectFiles(templates),
          name='selectfiles')

# Location of the dataset folder
sf.inputs.base_directory = '/data/ds000114'

#sf.inputs.ses_name = 

sf.run().outputs
211017-16:43:31,605 nipype.workflow INFO:
	 [Node] Setting-up "selectfiles" in "/tmp/tmpihjktq34/selectfiles".
211017-16:43:31,612 nipype.workflow INFO:
	 [Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211017-16:43:31,624 nipype.workflow INFO:
	 [Node] Finished "selectfiles".
anat = /data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz

FreeSurferSource

FreeSurferSource is a specific case of a file grabber that facilitates the data import of outputs from the FreeSurfer recon-all algorithm. This, of course, requires that you’ve already run recon-all on your subject.

For the tutorial dataset ds000114, recon-all was already run. So, let’s make sure that you have the anatomy output of one subject on your system:

%%bash
mkdir data
cd data
datalad install -r ///workshops/nih-2017/ds000114
cd /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114
datalad get -J 4 derivatives/freesurfer/sub-01
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/aparc.annot.ctab (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/ba_exvivo.ctab (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/aparc.annot.a2009s.ctab (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.aparc.a2009s.annot (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.aparc.annot (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba1_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.aparc.dktatlas.annot (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba1_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba2_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba3a_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba3b_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba3a_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba2_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba3b_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba44_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba45_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba44_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba45_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba4a_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba4a_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba4p_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba4p_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba6_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba6_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba_exvivo.annot (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.entorhinal_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.entorhinal_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.mt_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.ba_exvivo.thresh.annot (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.mt_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.perirhinal_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.perirhinal_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.cortex.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.v1_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.v1_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.v2_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.aparc.a2009s.annot (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/lh.v2_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba1_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba1_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.aparc.dktatlas.annot (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.aparc.annot (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba2_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba3a_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba2_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba3a_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba3b_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba3b_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba44_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba45_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba4p_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba4p_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba44_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba4a_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba4a_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba45_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba6_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba_exvivo.thresh.annot (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.entorhinal_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba6_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.entorhinal_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.ba_exvivo.annot (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.mt_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.cortex.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.perirhinal_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.perirhinal_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.v1_exvivo.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.mt_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.v1_exvivo.thresh.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.v2_exvivo.thresh.label (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/label/rh.v2_exvivo.label (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aparc+aseg.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aseg.auto.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aparc.a2009s+aseg.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aparc.dktatlas+aseg.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aseg.auto_noccseg.label_intensities.txt (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aseg.auto_noccseg.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aseg.presurf.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aseg.presurf.hypos.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aseg.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/brain.finalsurfs.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/brainmask.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/brain.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/ctrl_pts.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/filled.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/mri_nu_correct.mni.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/brainmask.auto.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/lh.ribbon.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/mri_nu_correct.mni.log.bak (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/norm.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/orig_nu.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/orig.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/rh.ribbon.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/nu.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/ribbon.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/segment.dat (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/talairach.label_intensities.txt (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/talairach.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/cc_up.lta (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talairach.auto.xfm.lta (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talairach.auto.xfm (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/t1.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talairach.lta (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talairach.xfm (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talairach_avi.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talairach_avi_qa.log (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talsrcimg_to_711-2c_as_mni_average_305_t4_vox2vox.txt (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/wm.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/orig/001.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/wm.seg.mgz (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/wm.asegedit.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/build-stamp.txt (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/wmparc.mgz (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/pctsurfcon.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/ponscc.cut.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/pctsurfcon.log.old (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all-lh.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all-rh.cmd (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all-lh.cmd (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all-rh.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all-status-lh.log (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all-status-rh.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all-status.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all.done (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all.env (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all.cmd (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all.local-copy (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all.env.bak (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/aseg.stats (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.aparc.a2009s.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.aparc.dktatlas.stats (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/recon-all.log (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.aparc.pial.stats (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.ba_exvivo.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.aparc.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.curv.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.ba_exvivo.thresh.stats (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/lh.w-g.pct.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.aparc.dktatlas.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.aparc.pial.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.aparc.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.aparc.a2009s.stats (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.ba_exvivo.thresh.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.ba_exvivo.stats (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.curv.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/wmparc.stats (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/stats/rh.w-g.pct.stats (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.area (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.avg_curv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.area.mid (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.area.pial (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.curv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.curv.pial (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.defect_borders (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.defect_chull (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.defect_labels (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/transforms/talairach.m3z (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.inflated.h (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.inflated.k (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.inflated (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.jacobian_white (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.inflated.nofix (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.orig.nofix (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/scripts/patchdir.txt (file) [from web...; from web...; from web...; from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.pial (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.be.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.midthickness (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.orig (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.c.crv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.fi.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.qsphere.nofix (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.h.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.k2.crv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.k1.crv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.k.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.s.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.thickness (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.sulc (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.sphere (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.smoothwm.nofix (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.sphere.reg (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.volume (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.white.k (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.white.h (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.white (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.w-g.pct.mgh (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.area.mid (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.area (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.area.pial (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.white.preaparc (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.curv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.defect_borders (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.curv.pial (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.avg_curv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.defect_chull (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.inflated.h (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.defect_labels (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.inflated.k (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.jacobian_white (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.midthickness (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.inflated (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.inflated.nofix (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.qsphere.nofix (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.orig (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.pial (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.be.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.orig.nofix (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.c.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.k1.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.fi.crv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.k.crv (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.h.crv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.s.crv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.nofix (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.smoothwm.k2.crv (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.sphere (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.sulc (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.thickness (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.w-g.pct.mgh (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.volume (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.sphere.reg (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.white.h (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.white.k (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.white (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/apas2aseg.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/aparc.a2009s2aseg.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/ca_normalize.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/asegmerge.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/aparc.dktatlas2aseg.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/conform.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/ca_label.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/cortical_ribbon.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/ca_register.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/fill.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/em_register.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/inorm2.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.aparcstats.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/inorm1.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.aparcstats2.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.aparc.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.aparc2.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.curvstats.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.aparcstats3.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.avgcurv.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.inflate.h.k.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.final_surfaces.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.inflate2.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.pctsurfcon.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.inflate1.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.jacobian_white.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.smoothwm1.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.qsphere.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.smoothwm2.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.sphreg.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.sphmorph.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.surfvolume.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.tessellate.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.white.h.k.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.topofix.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/relabelhypos.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.aparc.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/nu.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/lh.white_surface.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.aparcstats2.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.aparcstats.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.aparc2.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.aparcstats3.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.curvstats.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.inflate.h.k.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.final_surfaces.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.avgcurv.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.inflate1.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.white.preaparc (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.inflate2.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.jacobian_white.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.smoothwm1.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.qsphere.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.smoothwm2.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.pctsurfcon.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.sphreg.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.surfvolume.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.topofix.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.sphmorph.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.white_surface.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.white.h.k.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rh.tessellate.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mri_em_register.dat (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_fix_topology.rh.dat (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_fix_topology.lh.dat (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_inflate.lh.dat (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_inflate.rh.dat (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mri_ca_register.dat (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_sphere.lh.dat (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_register.lh.dat (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_register.rh.dat (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/segstats.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/wmaparc.stats.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/talairach.touch (file) [from origin...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/rusage.mris_sphere.rh.dat (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/wmaparc.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/touch/wmsegment.touch (file) [from web...]
get(ok): /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01 (directory)
action summary:
  get (notneeded: 1, ok: 304)
[INFO] Installing Dataset(/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114) to get /home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114 recursively 

Now, before you can run FreeSurferSource, you first have to specify the path to the FreeSurfer output folder, i.e. you have to specify the SUBJECTS_DIR variable. This can be done as follows:

from nipype.interfaces.freesurfer import FSCommand
from os.path import abspath as opap

# Path to your freesurfer output folder
fs_dir = opap('/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/')

# Set SUBJECTS_DIR
FSCommand.set_default_subjects_dir(fs_dir)

To create the FreeSurferSource node, do as follows:

from nipype import Node
from nipype.interfaces.io import FreeSurferSource

# Create FreeSurferSource node
fssource = Node(FreeSurferSource(subjects_dir=fs_dir),
                name='fssource')

Let’s now run it for a specific subject.

fssource.inputs.subject_id = 'sub-01'
result = fssource.run() 
211017-17:02:47,338 nipype.workflow INFO:
	 [Node] Setting-up "fssource" in "/tmp/tmpqrp43fpv/fssource".
211017-17:02:47,351 nipype.workflow INFO:
	 [Node] Running "fssource" ("nipype.interfaces.io.FreeSurferSource")
211017-17:02:47,971 nipype.workflow INFO:
	 [Node] Finished "fssource".

Did it work? Let’s try to access multiple FreeSurfer outputs:

print('aparc_aseg: %s\n' % result.outputs.aparc_aseg)
print('inflated: %s\n' % result.outputs.inflated)
aparc_aseg: ['/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aparc+aseg.mgz', '/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aparc.dktatlas+aseg.mgz', '/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/mri/aparc.a2009s+aseg.mgz']

inflated: ['/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.inflated', '/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/rh.inflated']

It seems to be working as it should. But as you can see, the inflated output actually contains the file location for both hemispheres. With FreeSurferSource we can also restrict the file selection to a single hemisphere. To do this, we use the hemi input filed:

fssource.inputs.hemi = 'lh'
result = fssource.run()
211017-17:02:49,652 nipype.workflow INFO:
	 [Node] Setting-up "fssource" in "/tmp/tmpqrp43fpv/fssource".
211017-17:02:49,669 nipype.workflow INFO:
	 [Node] Running "fssource" ("nipype.interfaces.io.FreeSurferSource")
211017-17:02:49,995 nipype.workflow INFO:
	 [Node] Finished "fssource".

Let’s take a look again at the inflated output.

result.outputs.inflated
'/home/neuro/workshop_weizmann/workshop/nipype/notebooks/data/ds000114/derivatives/freesurfer/sub-01/surf/lh.inflated'

Perfect!