Skip to content
Snippets Groups Projects

pyfeeds

Coverage report

The FSL Evaluation and Example Data Suite (FEEDS), now in Python!

pyfeeds (the FMRIB Evaluation and Example Data Suite) is a framework for running and managing tests for the FSL code base.

Test writers

If you want to write a test for your project, check out the page on how to write a pyfeeds test.

pyfeeds users

If you are going to be running pyfeeds tests, or are just interested, check out these pages:

Running the example tests

To run the examples included with pyfeeds, you will need FSL 5.0.9 or newer installed, and you will need to download the example and benchmark data sets from the pyfeeds git repository.

Use the following commands to run the tests:

exprs="*.nii.gz=evalImage"
exprs="$exprs:dti_V?.nii.gz=evalVectorImage"
exprs="$exprs:*.txt=evalNumericalText"
exprs="$exprs:*.mat=evalNumericalText"
pyfeeds run -e "$exprs" \
    -i exampleInputData \
    -b exampleBenchmarkData \
    -o exampleOutput examples

| Note that the FEAT example test may not pass for you, as different versions | of FSL may produce slightly different results.