MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
In #2678, the possibility of specifying PYTHONPATH for a given test seems to be useful. This PR addresses this need more generally, by allowing the specification of any environment variables when running a collection of tests specified in a text file.
@Lestropie this should be enough to address the issue raised, but let me know if this actually solves the problem.
This adds a new function argument to add_bash_tests() to specify environment variables that should be defined for running a test. Usage example:
In #2678, the possibility of specifying
PYTHONPATH
for a given test seems to be useful. This PR addresses this need more generally, by allowing the specification of any environment variables when running a collection of tests specified in a text file.@Lestropie this should be enough to address the issue raised, but let me know if this actually solves the problem.