Skip to content
Snippets Groups Projects
Commit 8f2af1f9 authored by Matthew Webster's avatar Matthew Webster
Browse files

BF: feedsRun writing to test directory, not output directory

parent de52f06b
No related branches found
No related tags found
1 merge request!47BF: feedsRun writing to test directory, not output directory
Pipeline #15658 skipped
...@@ -68,6 +68,7 @@ above assumptions: ...@@ -68,6 +68,7 @@ above assumptions:
import numpy as np import numpy as np
import nibabel as nib import nibabel as nib
import os
import subprocess as sp import subprocess as sp
import shlex import shlex
import sys import sys
...@@ -154,6 +155,7 @@ if __name__ == '__main__': ...@@ -154,6 +155,7 @@ if __name__ == '__main__':
result = 0 result = 0
for test in tests: for test in tests:
try: try:
os.chdir(sys.argv[2])
test() test()
print(f'\nTest {test.__name__} PASSED') print(f'\nTest {test.__name__} PASSED')
except Exception as e: except Exception as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment