3
Ydd                 @   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t dd ddd
t dddt dd dddt ddt dddt dddd
} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz-abs %s)argstrz%sz-debug   )r   positionT)ZnohashZ
usedefaultr   )r   
extensions	mandatoryr   z-invert)r   r   Zgenfiler   z-percent %sz-quietz-nan)
Zabsolute_threshold_valueargsdebugenvironin_fileinvertZout_filenameZpercentage_threshold_valuequietZreplace_zeros_with_NaN)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r   d/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/mrtrix/tests/test_auto_Threshold.pytest_Threshold_inputs   sH    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   )out_file)r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_Threshold_outputs8   s    r    N)
preprocessr   r   r    r   r   r   r   <module>   s   3