3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )Clusterc               C   st  t t ddt ddt dd dt ddt dddt d	dd
t ddd
t dd ddt ddd
t ddd
t ddt dddt dddt dddt dddt dddt dddt dddt dddt  t ddt dddgdt d d dt d!dd"t d#dd
t d$dt d%d dt d&d dd'} tj }xRt| j D ]B\}}x6t|j D ]&\}}t|j | ||ks@tq@W q*W d S )(Nz%s)argstrz--connectivity=%dz	--cope=%s)r   
extensionsz--dlh=%.10fT)Znohash
usedefaultz--min)r   r   z--fractionalz--in=%s)r   r   	mandatoryz--minclustersizez
--no_tablez--num=%dz--oindex=%sF)r   Z
hash_filesz
--olmax=%sz--olmaxim=%sz	--omax=%sz
--omean=%sz--opvals=%sz
--osize=%sz--othresh=%sz--peakdist=%.10fz--pthresh=%.10fdlhvolume)r   requiresz--stdvol=%sz--thresh=%.10f)r   r   z--mmz--volume=%dz--warpvol=%sz--xfm=%s)argsZconnectivityZ	cope_filer   environZfind_minZ
fractionalin_fileZminclustersizeZno_tableZ
num_maximaZout_index_fileZout_localmax_txt_fileZout_localmax_vol_fileZout_max_fileZout_mean_fileZout_pval_fileZout_size_fileZout_threshold_fileoutput_typeZpeak_distanceZ
pthresholdZstd_space_file	thresholdZuse_mmr   Zwarpfield_fileZxfm_file)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/fsl/tests/test_auto_Cluster.pytest_Cluster_inputs   s    
r   c              C   s   t t d dt d dt d dt d dt d dt d dt d dt d dd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ksttqtW q^W d S )N)r   )Z
index_fileZlocalmax_txt_fileZlocalmax_vol_fileZmax_fileZ	mean_fileZ	pval_fileZ	size_fileZthreshold_file)r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_Cluster_outputsw   s*    r   N)modelr   r   r   r   r   r   r   <module>   s   r