diff --git a/unit_tests/fugue/applywarp/feedsRun b/unit_tests/fugue/applywarp/feedsRun index 73b53bbeea038d6a90ccd2b136b121ad0e492ca5..0fa44cbcbdec1eb18d7665a4f3d3383a46c8afcf 100755 --- a/unit_tests/fugue/applywarp/feedsRun +++ b/unit_tests/fugue/applywarp/feedsRun @@ -1,6 +1,6 @@ #!/usr/bin/env fslpython - +import os import shlex import subprocess as sp import numpy as np @@ -78,4 +78,5 @@ def test_applywarp_uses_sqform_correctly(): if __name__ == '__main__': + os.chdir(sys.argv[2]) test_applywarp_uses_sqform_correctly()