|
a |
|
b/tests/README.md |
|
|
1 |
### Tests |
|
|
2 |
|
|
|
3 |
[pipeline_test.sh](./pipeline_test.sh) is a convenient testing infrastructure. |
|
|
4 |
In addition to the prerequisites mentioned in [instructions](../docs/README.md#installation), |
|
|
5 |
it is depdendent on the following executables: |
|
|
6 |
|
|
|
7 |
* dcm2niix |
|
|
8 |
* fslroi |
|
|
9 |
* bet |
|
|
10 |
* antsRegistrationSyNQuick.sh |
|
|
11 |
|
|
|
12 |
We recommend only putting the above executables in `PATH` without sourcing extenal environments |
|
|
13 |
such as FSL's. For example--`fslroi`, `bet` could be put in `PATH` as: |
|
|
14 |
|
|
|
15 |
> export PATH=/path/to/fsl-6.0.7/share/fsl/bin:$PATH |
|
|
16 |
|
|
|
17 |
In addition, you need to set: |
|
|
18 |
|
|
|
19 |
``` |
|
|
20 |
export FSLDIR=/path/to/fsl-6.0.7/ |
|
|
21 |
export FSLOUTPUTTYPE=NIFTI_GZ |
|
|
22 |
``` |
|
|
23 |
|
|
|
24 |
Moreover, you can put an `exit` statement after any line between 70-81 to run one or more tests: |
|
|
25 |
https://github.com/pnlbwh/CNN-Diffusion-MRIBrain-Segmentation/blob/a81ef7e939714f88b67c0a6e84a0ff6db7004622/tests/pipeline_test.sh#L70-L81 |
|
|
26 |
|