3
Yd                 @   s    d dl mZ dd Zdd ZdS )   )&SphericallyDeconvolutedStreamlineTrackc              C   s  t t ddt dddt ddt ddt ddd	t d
d ddgdt d
dddddgdt dd dd/dt dd ddgdt ddddddgdt dddt dddt dd0ddt dd ddgdt ddddddgdt ddt dddt d ddt d!ddt d"dt dd d#gd$d%d1d't d(d d)d*gdt d(dddd)d*gdt d+ddt d,dt d-dd.} tj }xRt| j D ]B\}}x6t|j D ]&\}}t|j | ||ksztqzW qdW d S )2Nz%s)argstrz
-cutoff %sZNA)r   unitsz
-number %dz-noprecomputedT)Znohash
usedefaultz-exclude %sexclude_fileexclude_spec)r   
extensionsxorr   ,mm)r   positionsepr   r	   )r   r   	mandatoryr   z-include %sinclude_fileinclude_specz-initcutoff %sz-initdirection %sZvoxels   )r   r   r   z-mask %s	mask_file	mask_specz
-maxnum %dz
-length %sz-curvature %sz-minlength %sz-nomaskinterpin_filez%s_tracked.tcktracked   )r   r   Zname_sourceZname_templateZoutput_namer   z-seed %s	seed_file	seed_specz-step %sz-stopz-unidirectional)argsZcutoff_valueZdesired_number_of_tracksZdo_not_precomputeenvironr   r   r   r   r   Zinitial_cutoff_valueZinitial_directionZ
inputmodelr   r   Zmaximum_number_of_tracksZmaximum_tract_lengthZminimum_radius_of_curvatureZminimum_tract_lengthZno_mask_interpolationout_filer   r   Z	step_sizestopZunidirectional)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/mrtrix/tests/test_auto_SphericallyDeconvolutedStreamlineTrack.py2test_SphericallyDeconvolutedStreamlineTrack_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,   3test_SphericallyDeconvolutedStreamlineTrack_outputs   s    r/   N)Ztrackingr   r-   r/   r+   r+   r+   r,   <module>   s    