3
Xde                 @   s    d dl mZ dd Zdd ZdS )   )
ApplyTOPUPc              C   s   t t ddt ddt dd ddt dddt ddd	d
t dd	dt ddd dgdt dd dgdt ddt ddt dd dgddt  d} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz%s)argstrz-d=%sz--datain=%sT)r   
extensions	mandatory)ZnohashZ
usedefaultz
--imain=%s,)r   r   sepz--inindex=%s)r   r   z
--topup=%sFin_topup_movpar)r   copyfiler   requiresin_topup_fieldcoef)r	   r   r
   z--interp=%sz--method=%sz--out=%sin_filesz%s_corrected)r   r   Zname_sourceZname_template)argsdatatypeZencoding_fileenvironr   Zin_indexr   r   Zinterpmethodout_correctedoutput_type)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/fsl/tests/test_auto_ApplyTOPUP.pytest_ApplyTOPUP_inputs   sT    
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_ApplyTOPUP_outputs?   s    r"   N)Zepir   r    r"   r   r   r   r   <module>   s   :