3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )
SliceTimerc              C   s   t 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t dd dddt  t ddt ddd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz%s)argstrz--ocustom=%s)r   
extensionsz--tcustom=%sT)ZnohashZ
usedefaultz	--tglobalz--in=%s    )r   r   	mandatorypositionz--downz--oddz--out=%sF)r   r   ZgenfileZ
hash_filesz--direction=%dz--repeat=%f)argsZcustom_orderZcustom_timingsenvironZglobal_shiftin_fileZ	index_dirZinterleavedout_fileoutput_typeZslice_directionZtime_repetition)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_SliceTimer.pytest_SliceTimer_inputs   sJ    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   )Zslice_time_corrected_file)r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_SliceTimer_outputs:   s    r   N)
preprocessr   r   r   r   r   r   r   <module>   s   5