3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )SphericalAveragec              C   s   t t ddt d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ddt dd dddt dddt  t ddt ddddd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz%s)argstrT)ZnohashZ
usedefaultz	-erode %d   )r   	mandatoryposition   r   )r   genfiler   z-orig %s)r   
extensions   )r   r	   r   r      )r   r	   r   r   z-o %s)r   r   z-t %.1f   )argsenvironZerodefnameZ
hemisphereZ
in_averageZin_origZin_surfout_fileZ
subject_idZsubjects_dir	thresholdwhichi)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r#   o/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/freesurfer/tests/test_auto_SphericalAverage.pytest_SphericalAverage_inputs   s^    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_SphericalAverage_outputsE   s    r'   N)modelr   r%   r'   r#   r#   r#   r$   <module>   s   @