13
|
1 <tool id="dmri" name="Download dMRI" version="0.13.0">
|
|
2 <description>dataset</description>
|
0
|
3 <requirements>
|
|
4 <requirement type="package" version="0.13.0">dipy</requirement>
|
|
5 </requirements>
|
|
6 <command detect_errors="exit_code"><![CDATA[
|
2
|
7 python '$__tool_directory__/dmri.py'
|
29
|
8 --drmi_dataset_type '$drmi_dataset_type_cond.drmi_dataset_type'
|
20
|
9 --drmi_dataset $drmi_dataset
|
13
|
10 --output_png '$output_png'
|
17
|
11 --output_nifti1 '$output_nifti1'
|
27
|
12 --output_nifti1_extra_files '$output_nifti1.files_path'
|
25
|
13 &>/dev/null
|
0
|
14 ]]></command>
|
|
15 <inputs>
|
29
|
16 <conditional name="drmi_dataset_type_cond">
|
|
17 <param name="drmi_dataset_type" type="select" label="Select download type">
|
|
18 <option value="dataset" selected="true">Dataset only</option>
|
|
19 <option value="dataset and label map">Dataset and label map</option>
|
|
20 </param>
|
|
21 <when option="dataset"/>
|
|
22 <when option="map"/>
|
|
23 </conditional>
|
20
|
24 <param name="drmi_dataset" type="select" label="dRMI dataset">
|
27
|
25 <option value="stanford_hardi" selected="true">stanford_hardi</option>
|
34
|
26 <option value="stanford_t1">stanford_t1</option>
|
20
|
27 </param>
|
0
|
28 </inputs>
|
|
29 <outputs>
|
16
|
30 <data name="output_png" format="png" label="${tool.name}: middle axial slice without (left) and with (right) diffusion weighting" />
|
31
|
31 <data name="output_nifti1" format="nifti1" label="${tool.name}: ($drmi_dataset_type_cond['drmi_dataset_type']) Nifti1 image" />
|
0
|
32 </outputs>
|
|
33 <tests>
|
|
34 <test>
|
|
35 </test>
|
|
36 </tests>
|
|
37 <help>
|
|
38 **What it does**
|
|
39
|
|
40 -----
|
|
41
|
|
42 **Options**
|
|
43
|
|
44 </help>
|
|
45 <citations>
|
|
46 </citations>
|
|
47 </tool>
|