From 7b9768fa7da279a2221387c5b281bbfc43a2fd60 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Fri, 3 Nov 2017 16:25:34 +0000
Subject: [PATCH] Removed debug from test

---
 tests/test_atlasq_query.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/test_atlasq_query.py b/tests/test_atlasq_query.py
index 4c37ee34e..c3fc1c6f2 100644
--- a/tests/test_atlasq_query.py
+++ b/tests/test_atlasq_query.py
@@ -317,13 +317,9 @@ def _gen_mask_query(atlas, use_label, q_type, q_in, res):
         mask = make_random_mask(
             maskfile, a_img.shape[:3], a_img.voxToWorldMat, zmask)
 
-        mask.save('/Users/paulmc/Projects/fsl-atlasq/mask_before_resample.nii.gz')
-        mask.save('/Users/paulmc/Projects/fsl-atlasq/mask.nii.gz')
-        fslimage.Image(np.array(zmask, dtype=np.uint8), xform=a_img.voxToWorldMat).save('/Users/paulmc/Projects/fsl-atlasq/zmask.nii.gz')
         if maskres != res:
 
             zmask = ndi.binary_erosion(zmask, iterations=3)
-            fslimage.Image(np.array(zmask, dtype=np.uint8), xform=a_img.voxToWorldMat).save('/Users/paulmc/Projects/fsl-atlasq/zmask.nii.gz')
             mask[zmask == 0] = 0
 
             a = _get_atlas(atlas, True, maskres)
@@ -342,7 +338,6 @@ def _gen_mask_query(atlas, use_label, q_type, q_in, res):
             mask = np.array(mask, dtype=np.uint8)
             mask = fslimage.Image(mask, xform=xform)
 
-            mask.save('/Users/paulmc/Projects/fsl-atlasq/mask.nii.gz')
             mask.save(maskfile)
 
     return maskfile
-- 
GitLab