3
Yd                 @   s    d dl mZ dd Zdd ZdS )   )ApplyVDMc              C   s   t t dddt ddddt ddt  t ddt d	ddt  t  t d
ddt dd dddt ddt dddddt ddd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nzroptions.pedirT)field
usedefaultz
data.scans)copyfiler   	mandatoryzroptions.rinterp)r   )r   zroptions.prefix8)Zmin_verr   zdata.vdmfile)r   
extensionsr   r   zroptions.maskzroptions.whichr   )r   maxlenZminlenr   zroptions.wrap)Zdistortion_directionZin_filesinterpolationZ
matlab_cmdZmfileZ
out_prefixpathsZuse_mcrZuse_v8structZvdmfileZ
write_maskZwrite_whichZ
write_wrap)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r   `/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/spm/tests/test_auto_ApplyVDM.pytest_ApplyVDM_inputs   sN    r   c              C   sn   t t d dt  d} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ks@tq@W q*W d S )N)r   )Z
mean_imageZ	out_files)r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_ApplyVDM_outputs;   s    
r   N)
preprocessr   r   r   r   r   r   r   <module>   s   6