Esempio n. 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')
Esempio n. 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')
Esempio n. 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')