3
Yd                 @   s    d dl mZ dd Zdd ZdS )   )
VBMSegmentc           *   C   s  t 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 dddt dddt ddddg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dt dddt  t ddt dddt  t dddt d ddt d!ddt d"ddt ddt ddddgd#dt  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d,&} tj }xRt| j D ]B\}}x6t|j D ]&\}}t|j | ||kstqW qW d S )-Nzestwrite.output.bias.affineT)field
usedefaultzestwrite.output.bias.nativezestwrite.output.bias.warpedzestwrite.opts.biasfwhmzestwrite.opts.biasregzestwrite.extopts.cleanupzestwrite.output.CSF.dartelzestwrite.output.CSF.modulatedzestwrite.output.CSF.nativezestwrite.output.CSF.warpedz.hdrz.imgz.img.gzz.niiz.estwrite.extopts.dartelwarp.normhigh.darteltpm)
extensionsr   zestwrite.output.warpszestwrite.extopts.print)r   zestwrite.output.GM.dartelzestwrite.output.GM.modulatedzestwrite.output.GM.nativezestwrite.output.GM.warpedFzestwrite.data)copyfiler   	mandatoryzestwrite.jacobian.warpedzestwrite.extopts.mrfzestwrite.output.label.dartelzestwrite.output.label.nativezestwrite.output.label.warpedzestwrite.opts.sampzestwrite.tpmzestwrite.extopts.sanlm8)Zmin_verr   zestwrite.opts.warpregzestwrite.output.WM.dartelzestwrite.output.WM.modulatedzestwrite.output.WM.nativezestwrite.output.WM.warped)&Zbias_corrected_affineZbias_corrected_nativeZbias_corrected_normalizedZ	bias_fwhmZbias_regularizationZcleanup_partitionsZ
csf_dartelZcsf_modulated_normalizedZ
csf_nativeZcsf_normalizedZdartel_templateZdeformation_fieldZdisplay_resultsZgaussians_per_classZ	gm_dartelZgm_modulated_normalizedZ	gm_nativeZgm_normalizedZin_filesZjacobian_determinantZ
matlab_cmdZmfileZmrf_weightingpathsZpve_label_dartelZpve_label_nativeZpve_label_normalizedZsampling_distanceZspatial_normalizationZtissuesZuse_mcrZuse_sanlm_denoising_filterZuse_v8structZwarping_regularizationZ	wm_dartelZwm_modulated_normalizedZ	wm_nativeZwm_normalized)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r   b/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/spm/tests/test_auto_VBMSegment.pytest_VBMSegment_inputs   s    

r   c              C   s   t 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shtqhW qRW d S )N)Zbias_corrected_imagesZdartel_input_imagesZforward_deformation_fieldZinverse_deformation_fieldZjacobian_determinant_imagesZmodulated_class_imagesZnative_class_imagesZ normalized_bias_corrected_imagesZnormalized_class_imagesZpve_label_native_imagesZpve_label_normalized_imagesZpve_label_registered_imagesZtransformation_mat)r
   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_VBMSegment_outputs   s$    
r   N)
preprocessr   r   r   r   r   r   r   <module>   s    