Skip to content

Commit 8481482

Browse files
committed
ENH: Rm ANTs WMH test.
1 parent a52567b commit 8481482

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

tests/test_wmh_pvs.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ def test_example(self):
3939
flair = ants.image_read(flair_file)
4040
wmh = antspynet.shiva_wmh_segmentation(flair, t1, which_model="all")
4141

42-
class Test_ants_wmh(unittest.TestCase):
43-
def setUp(self):
44-
pass
45-
def tearDown(self):
46-
pass
47-
def test_example(self):
48-
t1_file = tf.keras.utils.get_file(fname="t1.nii.gz", origin="https://figshare.com/ndownloader/files/40251796")
49-
t1 = ants.image_read(t1_file)
50-
t1 = ants.resample_image(t1, (240, 240, 96), use_voxels=True)
51-
flair_file = tf.keras.utils.get_file(fname="flair.nii.gz", origin="https://figshare.com/ndownloader/files/40251793")
52-
flair = ants.image_read(flair_file)
53-
flair = ants.resample_image(flair, (240, 240, 96), use_voxels=True)
54-
wmh = antspynet.wmh_segmentation(flair, t1, use_combined_model=True)
42+
# class Test_ants_wmh(unittest.TestCase):
43+
# def setUp(self):
44+
# pass
45+
# def tearDown(self):
46+
# pass
47+
# def test_example(self):
48+
# t1_file = tf.keras.utils.get_file(fname="t1.nii.gz", origin="https://figshare.com/ndownloader/files/40251796")
49+
# t1 = ants.image_read(t1_file)
50+
# t1 = ants.resample_image(t1, (240, 240, 96), use_voxels=True)
51+
# flair_file = tf.keras.utils.get_file(fname="flair.nii.gz", origin="https://figshare.com/ndownloader/files/40251793")
52+
# flair = ants.image_read(flair_file)
53+
# flair = ants.resample_image(flair, (240, 240, 96), use_voxels=True)
54+
# wmh = antspynet.wmh_segmentation(flair, t1, use_combined_model=True)
5555

5656
class Test_shiva_wmh(unittest.TestCase):
5757
def setUp(self):

0 commit comments

Comments
 (0)