예제 #1
0
    def test_read_stack_fails_ok(self):
        import IMAT.tomorec.reconstruction_command as cmd
        cmd = cmd.ReconstructionCommand()

        # The images are not .tiff but .fits so the loader should raise
        with self.assertRaises(RuntimeError):
            cmd.read_in_stack(self.test_input_dir, 'tiff')
예제 #2
0
    def test_read_stack_fails_ok(self):
        import IMAT.tomorec.reconstruction_command as cmd
        cmd = cmd.ReconstructionCommand()

        # The images are not .tiff but .fits so the loader should raise
        with self.assertRaises(RuntimeError):
            cmd.read_in_stack(self.test_input_dir, 'tiff')
예제 #3
0
    def test_read_stack_fails_ok(self):
        import IMAT.tomorec.reconstruction_command as cmd
        cmd = cmd.ReconstructionCommand()

        with self.assertRaises(RuntimeError):
            cmd.read_in_stack(self.test_input_dir, 'tiff')