3
Xd                 @   s    d dl mZ dd Zdd ZdS )   )buildtemplateparallelc              C   s   t t ddt ddt ddddt dddt d	dt dddd
t dddt dddt ddg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} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )Nz%s)argstrz-n 1z-d %d   T)r   position
usedefault)Znohashr   z-g %f)r   	mandatoryr   z-i %d)r   r   z-m %sx)r   sepz-j %dparallelization)r   requiresz-o %sz-c %dz-r 1z-s %sz-t %s)argsZbias_field_correctionZ	dimensionenvironZgradient_step_sizeZin_filesZiteration_limitZmax_iterationsZ	num_coresnum_threadsZ
out_prefixr
   Zrigid_body_registrationZsimilarity_metricZtransformation_modelZuse_first_as_target)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r   n/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/ants/tests/test_auto_buildtemplateparallel.py!test_buildtemplateparallel_inputs   s`    
r   c              C   sr   t t d dt  t  d} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||ksDtqDW q.W d S )N)
extensions)Zfinal_template_fileZsubject_outfilesZtemplate_files)r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   "test_buildtemplateparallel_outputsI   s    
r    N)legacyr   r   r    r   r   r   r   <module>   s   D