3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )antsIntroductionc              C   s   t t ddt ddt ddddt dddt d	dt d
dd ddt ddt dddt dddt dddt ddt ddd ddt ddt dddd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz%s)argstrz-n 1z-d %d   T)r   position
usedefault)Znohashr   z-f 1z-i %sF)r   copyfile
extensions	mandatoryz-lz-m %sx)r   sepz-o %s)r   r   z-q 1z-r %sz-s %sz-t %s)argsZbias_field_correctionZ	dimensionenvironZforce_proceedZinput_imageZinverse_warp_template_labelsZmax_iterationsnum_threadsZ
out_prefixZquality_checkZreference_imageZsimilarity_metricZtransformation_model)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r   i/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/ants/tests/test_auto_antsIntroduction.pytest_antsIntroduction_inputs   s\    r   c              C   s   t t d dt d dt d dt d dt d dd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ks\tq\W qFW d S )N)r   )Zaffine_transformationZ
input_fileZinverse_warp_fieldZoutput_fileZ
warp_field)r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_antsIntroduction_outputsF   s    r   N)legacyr   r   r   r   r   r   r   <module>   s   A