3
Xd[                 @   s    d dl mZ dd Zdd ZdS )   )CAT12Segmentc           5   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t ddddt dddt dd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  t ddt dddd t d!ddt d"ddt dd#ddt  t d$ddt d%ddt dd&d'd(d)gd*dd+t dd&d'd(d)gdd,t dd&d'd(d)gdd,t dd&d'd(d)gdd,t dd&d'd(d)gdd,t d-ddt d.ddt d/ddt dd0ddt  t d1dd2t d3ddt d4ddddt d5ddt d6ddt d7ddt d8ddd91} tj }xRt| j D ]B\}}x6t|j D ]&\}}t|j | ||ksNtqNW q8W d S ):Nzextopts.APPT)field
usedefaultzopts.affregzoutput.ROImenu.atlases.hammerszoutput.CSF.dartelzoutput.CSF.modzoutput.CSF.nativezoutput.GM.dartelzoutput.GM.modzoutput.GM.nativezoutput.ROImenu.atlases.cobrazextopts.ignoreErrorsFdata)copyfiler   	mandatoryzextopts.spm_kamapzextopts.restypes.optimalr   )r   maxlenZminlenr   zoutput.jacobianwarpedzoutput.label.dartelzoutput.label.nativezoutput.label.warpedzoutput.las.dartelzoutput.las.nativezoutput.las.warpedzextopts.LASstrzoutput.ROImenu.atlases.lpba40)r   Znproc)r   r   r   z)output.ROImenu.atlases.neuromorphometricszoutput.labelnativezoutput.ROImenu.atlases.ownatlaszopts.biasacczoutput.bias.warpedz.hdrz.imgz.img.gzz.niiz)extopts.registration.shooting.shootingtpm)r   
extensionsr   r   )r   r	   r   zextopts.gcutstrZsurfacezoutput.surf_measurestpm8)Zmin_verr   zextopts.voxzoutput.warpszextopts.WMHCzoutput.WM.dartelzoutput.WM.modzoutput.WM.native)1Zaffine_preprocessingZaffine_regularizationZcobraZcsf_output_dartelZcsf_output_modulatedZcsf_output_nativeZgm_output_dartelZgm_output_modulatedZgm_output_nativeZhammersignore_errorsZin_filesZinitial_segmentationZinternal_resampling_processZjacobianwarpedZlabel_dartelZlabel_nativeZlabel_warpedZ
las_dartelZ
las_nativeZ
las_warpedZlocal_adaptive_segZlpba40Z
matlab_cmdZmfileZn_jobsZneuromorphometricsZoutput_labelnativeZ	own_atlaspathsZ"power_spm_inhomogeneity_correctionZsave_bias_correctedZshooting_tpmZshooting_tpm_template_1Zshooting_tpm_template_2Zshooting_tpm_template_3Zshooting_tpm_template_4Zskull_stripZ surface_and_thickness_estimationZsurface_measuresr
   Zuse_mcrZuse_v8structZ
voxel_sizeZwarpsZwm_hyper_intensity_correctionZwm_output_dartelZwm_output_modulatedZwm_output_native)dictr   Z
input_speclistitemsgetattrtraitsAssertionError)Z	input_mapinputskeymetadatametakeyvalue r   f/var/www/html/virt/lib/python3.6/site-packages/nipype/interfaces/cat12/tests/test_auto_CAT12Segment.pytest_CAT12Segment_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  t d dt d dt d dt d dt  t d dt  t d dt d dt  t d dt d dt d dd} tj }xLt| j D ]<\}}x2t|j D ]"\}}t|j | ||kstqW qW d S )N)r	   )Zbias_corrected_imageZcsf_dartel_imageZcsf_modulated_imageZcsf_native_imageZgm_dartel_imageZgm_modulated_imageZgm_native_imageZlabel_filesZ	label_roiZ
label_roisZlh_central_surfaceZlh_sphere_surfaceZ
mri_imagesreportZreport_filesZrh_central_surfaceZrh_sphere_surfaceZsurface_filesZwm_dartel_imageZwm_modulated_imageZwm_native_image)r   r   Zoutput_specr   r   r   r   r   )Z
output_mapoutputsr   r   r   r   r   r   r   test_CAT12Segment_outputs   sV    r   N)
preprocessr   r   r   r   r   r   r   <module>   s    S