Make sure you have fftw3-dev installed for computing Fourier transforms. On Debian-based OSes:
sudo apt install fftw3-devBuild conda environment:
conda env createInstall testing dependencies with:
conda env update -f test-environment.ymlSet environment variable so Tensorflow knows where to look for things:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/To run tests you'll need a CNN model to use. ifcb-analysis is configured to work with Keras models, which, for testing purposes, you can copy into src/python/tests/data.
With that in place, run:
pytest