From d23797c7d0b41fc057ce1a43333eab4715209ec4 Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk>
Date: Mon, 27 Jul 2020 09:04:30 +0100
Subject: [PATCH] BUG: actually store data/fits in output directory

---
 unit_tests/fdt/dtifit/feedsRun | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unit_tests/fdt/dtifit/feedsRun b/unit_tests/fdt/dtifit/feedsRun
index 144e51f..0ba3f77 100755
--- a/unit_tests/fdt/dtifit/feedsRun
+++ b/unit_tests/fdt/dtifit/feedsRun
@@ -96,7 +96,7 @@ def gen_data():
             for flipped in (False, True):
                 directory[3] = 'flipped' if flipped else ''
 
-                fdir = '_'.join([d for d in directory if len(d) > 0])
+                fdir = os.path.join(OUTDIR, '_'.join([d for d in directory if len(d) > 0]))
 
                 if not os.path.isdir(fdir):
                     os.mkdir(fdir)
-- 
GitLab