@@ -39,19 +39,19 @@ def test_example(self):
39
39
flair = ants .image_read (flair_file )
40
40
wmh = antspynet .shiva_wmh_segmentation (flair , t1 , which_model = "all" )
41
41
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)
55
55
56
56
class Test_shiva_wmh (unittest .TestCase ):
57
57
def setUp (self ):
0 commit comments