3
Xd
                 @   s    d dl mZ dd Zdd ZdS )   )FLAMEOc              C   s&  t t ddt ddt dd ddt dd ddt dd ddt d	d d
t dddt dd d
t ddt ddt dddt dd ddt ddt ddt ddt  t dddt ddt ddt d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%s)argstrz--burnin=%dz--copefile=%sT)r   
extensions	mandatoryz--covsplitfile=%sz--designfile=%sz--dofvarcopefile=%s)r   r   )Znohash
usedefaultz--fcontrastsfile=%sz	--fixmeanz--inferoutliersz--ld=%s)r   r   z--maskfile=%sz--njumps=%dz--nopeoutputz	--ioni=%dz--runmode=%s)r   r   z--sampleevery=%dz--sigma_dofs=%dz--tcontrastsfile=%sz--varcopefile=%s)argsZburninZ	cope_fileZcov_split_fileZdesign_fileZdof_var_cope_fileenvironZ
f_con_fileZfix_meanZinfer_outliersZlog_dirZ	mask_fileZn_jumpsZno_pe_outputsZoutlier_iteroutput_typeZrun_modeZsample_everyZ
sigma_dofsZ
t_con_fileZvar_cope_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_FLAMEO.pytest_FLAMEO_inputs   s|    r   c              C   s   t t  t  t  t  t  t  t  t  t  t  t  t  d} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ksdtqdW qNW d S )N)ZcopesZfstatsZmrefvarsZpesZres4dZ	stats_dirZtdofZtstatsZ	var_copesweightsZzfstatsZzstats)r
   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_FLAMEO_outputs\   s"    
r   N)modelr   r   r   r   r   r   r   <module>   s   W