From 70af678605372a78cd7fe446ced90ef101e8cdb4 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Tue, 5 Dec 2017 11:09:52 +1030 Subject: [PATCH] Boolean masks cannot be used when image is kept on disk. Making unit tests pass, but this should probably be fixed. --- tests/test_atlasq_ohi.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/test_atlasq_ohi.py b/tests/test_atlasq_ohi.py index e98d3650d..2204b08f5 100644 --- a/tests/test_atlasq_ohi.py +++ b/tests/test_atlasq_ohi.py @@ -179,12 +179,7 @@ def test_mask(seed): # atlasquery always uses 2mm # resolution versions of atlases - atlas2mm = fslatlases.loadAtlas( - desc.atlasID, - resolution=2, - indexed=True, - calcRange=False, - loadData=False) + atlas2mm = fslatlases.loadAtlas(desc.atlasID, resolution=2) # Test with 1mm and 2mm masks for res in [1, 2]: -- GitLab