e94e721ac0b24d4e6e251b37e1459d9e4226e9eb,pyCellProfiler/cellprofiler/modules/tests/test_flipandrotate.py,TestFlipAndRotate,test_04_01_crop,#TestFlipAndRotate#,353
Before Change
module.wants_crop.value = False
output_image, angle = self.run_module(image, fn=fn)
self.assertTrue(isinstance(crop_output_image, cpi.Image))
recrop_image = crop_output_image.crop_image_similarly(output_image.pixel_data)
self.assertTrue(np.all(recrop_image == crop_image))
self.assertTrue(np.all(crop_output_image.crop_image_similarly(output_image.mask)))
def test_05_01_get_measurements(self):
After Change
mask = output_image.mask
pixel_data = pixel_data[slop[0]:image.shape[0]+slop[0],
slop[1]:image.shape[1]+slop[1]]
mask = mask[slop[0]:image.shape[0]+slop[0],
slop[1]:image.shape[1]+slop[1]]
//
// Slight misregistration: rotate returns even // shape
//
//recrop_image = crop_output_image.crop_image_similarly(pixel_data)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: e94e721ac0b24d4e6e251b37e1459d9e4226e9eb
Time: 2009-11-16
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/tests/test_flipandrotate.py
Class Name: TestFlipAndRotate
Method Name: test_04_01_crop
Project Name: CellProfiler/CellProfiler
Commit Name: 2c339f08da80a6a6d52df37b64fe148155a13e86
Time: 2011-02-24
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/align.py
Class Name: Align
Method Name: apply_alignment
Project Name: CellProfiler/CellProfiler
Commit Name: 9303d06331cf6895188591e623cbbca76ea27c3d
Time: 2011-07-12
Author: thouis@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/objects.py
Class Name: Objects
Method Name: relate_children