3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )	Thresholdc              C   s   t t ddt ddt dddt dd dddt dd	d
t ddd
t dd ddddt ddd
t  t ddddt dgdt  d} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz%s)argstrT)
usedefault)Znohashr   r   )r   
extensions	mandatorypositionz-dt %s   )r   r   z-nan   F)r   r   ZgenfileZ
hash_filesr   z-odt %s   )r   r   r   use_robust_range)requires)args	directionenvironin_fileZinternal_datatypeZ	nan2zerosout_fileZoutput_datatypeoutput_typeZthreshZuse_nonzero_voxelsr   )dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r    a/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/fsl/tests/test_auto_Threshold.pytest_Threshold_inputs   sP    
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_Threshold_outputs<   s    r$   N)Zmathsr   r"   r$   r    r    r    r!   <module>   s   7