human
Complete the below
def create_skullstripped_recon_flow(name=u'skullstripped_recon_all'):

    ''''Performs recon-all on voulmes that are already skull stripped.
    FreeSurfer failes to perform skullstrippig on some volumes (especially
    MP2RAGE). This can be avoided by doing skullstripping before running
    recon-all (using for example SPECTRE algorithm).
    Example
    >>> from nipype.workflows.smri.freesurfer import create_skullstripped_recon_flow
    >>> recon_flow = create_skullstripped_recon_flow()
    >>> recon_flow.inputs.inputspec.subject_id = \'subj1\'
    >>> recon_flow.inputs.inputspec.T1_files = \'T1.nii.gz\'
    >>> recon_flow.run()  # doctest: +SKIP
    Inputs::
    inputspec.T1_files : skullstripped T1_files (mandatory)
    inputspec.subject_id : freesurfer subject id (optional)
    inputspec.subjects_dir : freesurfer subjects directory (optional)
    Outputs::
    outputspec.subject_id : freesurfer subject id
    outputspec.subjects_dir : freesurfer subjects directory'
    '''

=====
What is a the Python code you requested?
assistant
#Here is the Python code you requested.
    wf = pe.Workflow(name=name)
    inputnode = pe.Node(niu.IdentityInterface(fields=[u'subject_id', u'subjects_dir', u'T1_files']), name=u'inputspec')
    autorecon1 = pe.Node(fs.ReconAll(), name=u'autorecon1')
    autorecon1.plugin_args = {u'submit_specs': u'request_memory    =    2500'}
    autorecon1.inputs.directive = u'autorecon1'
    autorecon1.inputs.args = u'-noskullstrip'
    autorecon1._interface._can_resume = False
    wf.connect(inputnode, u'T1_files', autorecon1, u'T1_files')
    wf.connect(inputnode, u'subjects_dir', autorecon1, u'subjects_dir')
    wf.connect(inputnode, u'subject_id', autorecon1, u'subject_id')
    def link_masks(subjects_dir, subject_id):
        import os
        os.symlink(os.path.join(subjects_dir, subject_id, u'mri', u'T1.mgz'), os.path.join(subjects_dir, subject_id, u'mri', u'brainmask.auto.mgz'))
        os.symlink(os.path.join(subjects_dir, subject_id, u'mri', u'brainmask.auto.mgz'), os.path.join(subjects_dir, subject_id, u'mri', u'brainmask.mgz'))
        return (subjects_dir, subject_id)
    masks = pe.Node(niu.Function(input_names=[u'subjects_dir', u'subject_id'], output_names=[u'subjects_dir', u'subject_id'], function=link_masks), name=u'link_masks')
    wf.connect(autorecon1, u'subjects_dir', masks, u'subjects_dir')
    wf.connect(autorecon1, u'subject_id', masks, u'subject_id')
    autorecon_resume = pe.Node(fs.ReconAll(), name=u'autorecon_resume')
    autorecon_resume.plugin_args = {u'submit_specs': u'request_memory    =    2500'}
    autorecon_resume.inputs.args = u'-no-isrunning'
    wf.connect(masks, u'subjects_dir', autorecon_resume, u'subjects_dir')
    wf.connect(masks, u'subject_id', autorecon_resume, u'subject_id')
    outputnode = pe.Node(niu.IdentityInterface(fields=[u'subject_id', u'subjects_dir']), name=u'outputspec')
    wf.connect(autorecon_resume, u'subjects_dir', outputnode, u'subjects_dir')
    wf.connect(autorecon_resume, u'subject_id', outputnode, u'subject_id')
    return wf