3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )SampleToSurfacec           )   C   s  t t ddt ddt ddt ddgdt ddd	t d
dt ddt ddt dddt ddt ddt ddgdt ddt dd dgdt dddddgdt ddgdt dd dd t d!dt d"d#gdt dd$gd%t d&d d't d(d ddddgd)t d*dd#gdddgd+t d,d-gdt d.dt ddd/d0gd1gd+t  t  t d2dt d3dt d4dt d5d dd6t  t  t d7dgdt d8dt d9dt d:dd;&} tj }xRt| j D ]B\}}x6t|j D ]&\}}t|j | ||kstqW qW d S )<Nz--rot %.3f %.3f %.3f)argstrz--trans %.3f %.3f %.3fz%sz--cortex
mask_label)r   xorT)ZnohashZ
usedefaultz
--fixtkregz--float2int %sz
--frame %dz	--hemi %s)r   	mandatoryz--srchit %sz--srchit_typez--icoorder %dtarget_subject)r   requiresz--interp %sz	--mask %scortex_mask)r   
extensionsr   z--mni152regreg_file
reg_header	mni152reg)r   r   r   z--noreshapereshapez--o %s)r   r
   Zgenfilez--out_type %sz--srcsubject %s
subject_idsampling_method)r   r   z--ref %s)r   r
   z--reg %s)r   r
   r   r   z--regheader %s)r   r   r   r   z	--reshape
no_reshapez--rf %dsampling_rangesampling_unitsprojection_stemz--scale %.3fz--surf-fwhm %.3fz--fwhm %.3fz--mov %s)r   r
   r   z--surfreg %sz	--surf %sz--trgsubject %sz	--nvox %s)&Z	apply_rotZapply_transargsr	   environZ
fix_tk_regZfloat2int_methodframeZhemi	hits_fileZ	hits_typeZ	ico_orderZinterp_methodr   r   r   out_fileZout_typeZoverride_reg_subjr   Zreference_filer   r   r   Zreshape_slicesr   r   r   Zscale_inputZsmooth_surfZ
smooth_volZsource_filer   Zsubjects_dirZsurf_regZsurfacer   vox_file)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r&   n/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/freesurfer/tests/test_auto_SampleToSurface.pytest_SampleToSurface_inputs   s    r(   c              C   sz   t t d dt d dt d dd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ksLtqLW q6W d S )N)r
   )r   r   r   )r   r   Zoutput_specr   r   r   r   r    )Z
output_mapoutputsr"   r#   r$   r%   r&   r&   r'   test_SampleToSurface_outputs   s    r*   N)utilsr   r(   r*   r&   r&   r&   r'   <module>   s    