3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )	Allineatec           ;   C   sh  t t dd dKddddgdt dd	t d
d	t dd	t dd	t dd	t dd	t dd	t dd	t dddt dd	t dd	t dd	t ddd ddt dd dLdgdt dd dgdt dd	t dd dt d d	t d!d	t d"d	t d#d	t d$d	t d%d	t d&d	t d'd	t dddt d(d	t d)d	t d*d	t d+d	t d,d dd-d.d/gd0t d1d d2d/gdt d3d d4d/gdt d5d d/gdt  t d6d	t d7d	t d8d dt d9d	t d:d	t d;d	t d<d dt d=d	t d>d	t d?d	t d@d	t dAd	t dBd	t dCd	t dDd	t dEd	t dEdFd dGdHt dId	dJ6} tj }xRt| j D ]B\}}x6t|j D ]&\}}t|j | ||ks4tq4W qW d S )MNz-allcostx |& tee %s   out_file
out_matrixout_param_fileout_weight_file)argstr
extensionspositionxorz%s)r   z-autoboxz-automask+%dz-autoweight%sz-cmass%sz	-check %sz-conv %fz-cost %sT)ZnohashZ
usedefaultz-EPIz	-final %sz-fineblur %fz
-source %sF)r   copyfiler	   	mandatoryz-1Dmatrix_apply %s   z-1Dparam_apply %s)r   r	   r   z
-interp %sz
-master %s)r   r	   z
-maxrot %fz
-maxscl %fz
-maxshf %fz
-maxshr %fz-newgrid %fz
-nmatch %dz-nopadz-nomaskz	-nwarp %sz-nwarp_fixdep%s...z-nwarp_fixmot%s...z-onepassz
-prefix %sin_filez%s_allineateallcostx)r   r	   Z
hash_filesZname_sourceZname_templater   z-1Dmatrix_save %s	in_matrixz-1Dparam_save %sin_param_filez-wtprefix %sz
-overwritez-quietz-base %sz-replacebasez-replacemeth %sz-source_automask+%dz-source_mask %sz-twobest %dz-twoblur %fz	-twofirstz-twopassz-usetempz-verbz-warp %sz-warpfreezez
-weight %sz1.0.0weight)r   
deprecatedr	   new_namez-zclip)6r   argsZautoboxZautomaskZ
autoweightZcenter_of_masscheckZconvergenceZcostenvironZepiZfinal_interpolationZ	fine_blurr   r   r   interpolationZmasterZmaxrotZmaxsclZmaxshfZmaxshrZnewgridZnmatchZno_padZnomasknum_threadsZnwarpZnwarp_fixdepZnwarp_fixmotZone_passr   r   r   r   Z
outputtype	overwritequiet	referenceZreplacebaseZreplacemethZsource_automaskZsource_maskZtwo_bestZtwo_blurZ	two_firstZtwo_passZusetempverboseZ	warp_typeZ
warpfreezer   Zweight_fileZzclip)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r,   b/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/afni/tests/test_auto_Allineate.pytest_Allineate_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	   )r   r   r   r   r   )r!   r   Zoutput_specr"   r#   r$   r%   r&   )Z
output_mapoutputsr(   r)   r*   r+   r,   r,   r-   test_Allineate_outputs   s    r0   N)
preprocessr   r.   r0   r,   r,   r,   r-   <module>   s    I