3
Y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t ddt ddt ddt  t ddt  t dd ddt dd ddt ddt  t ddt dddd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )	NT)	mandatory)
usedefault)copyfile
extensionsr   F8)Zmin_verr   )Zcontrast_indexZextent_fdr_p_thresholdZextent_thresholdZforce_activationZheight_thresholdZheight_threshold_typeZ
matlab_cmdZmfilepathsZspm_mat_fileZ
stat_imageZuse_fwe_correctionZuse_mcrZuse_topo_fdrZuse_v8struct)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/spm/tests/test_auto_Threshold.pytest_Threshold_inputs   sJ    r   c           	   C   s   t t  t  t  t d dt  t d dd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ksTtqTW q>W d S )N)r   )Zactivation_forcedZcluster_forming_thrZ
n_clustersZpre_topo_fdr_mapZpre_topo_n_clustersZthresholded_map)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)modelr   r   r   r   r   r   r   <module>   s   6