From f5a45f47a93aaac4a2a43e2fde0845861ad43eab Mon Sep 17 00:00:00 2001 From: ncullen93 Date: Wed, 21 Feb 2024 21:02:44 +0100 Subject: [PATCH] test matplotlib plot only --- tests/test_viz.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/tests/test_viz.py b/tests/test_viz.py index 6e6c909c..e4dc1b1b 100644 --- a/tests/test_viz.py +++ b/tests/test_viz.py @@ -33,26 +33,5 @@ def test_plot_example(self): ants.plot(img, filename=filename) -class TestModule_create_tiled_mosaic(unittest.TestCase): - - def setUp(self): - img2d = ants.image_read(ants.get_ants_data('r16')) - img3d = ants.image_read(ants.get_ants_data('mni')) - self.imgs = [img2d, img3d] - - def tearDown(self): - pass - - def test_example(self): - img = ants.image_read(ants.get_ants_data('ch2')).resample_image((3,3,3)) - - # test with output - outfile = mktemp(suffix='.png') - p = ants.create_tiled_mosaic(img, output=outfile) - - # rgb is not none - rgb = img.clone() - p = ants.create_tiled_mosaic(img, rgb=rgb, output=outfile) - if __name__ == '__main__': run_tests() \ No newline at end of file