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')
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')
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')