3
Xd-                 @   s    d dl mZ dd Zdd ZdS )   )Label2Labelc              C   s   t t ddt  t dddt dddt dd ddd	gd
dt dddt dd ddt d ddt dddt d ddt d ddt ddddt  t d ddd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz%s)argstrT)Znohash
usedefaultz	--hemi %s)r   	mandatoryz--trglabel %sFsource_labelz%s_converted)r   
extensionsZ
hash_filesZkeep_extensionZname_sourceZname_templatez--regmethod %s)r   r   z--srclabel %s)r   r   r   )r   r   z--srcsubject %sz--trgsubject %s)r   r   r   )argsZcopy_inputsenvironZ
hemisphereout_fileZregistration_methodr   Zsource_sphere_regZsource_subjectZsource_whiteZ
sphere_regZ
subject_idZsubjects_dirwhite)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r   j/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/freesurfer/tests/test_auto_Label2Label.pytest_Label2Label_inputs   s`    r   c              C   sj   t t d dd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ks<tq<W q&W d S )N)r   )r
   )r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_Label2Label_outputsF   s    r   N)modelr   r   r   r   r   r   r   <module>   s   A