120476a18f00256ffb00df68c44574abb7a6c2df,cellprofiler/modules/tests/test_mergeoutputfiles.py,TestMergeOutputFiles,test_01_03_different_measurements,#TestMergeOutputFiles#,111

Before Change


                np.testing.assert_almost_equal(ro[i+j*5], mo[i])
                // no longer the case with hdf5-stored measurements
                // self.assertEqual(len(ro[i + (1 - j)*5]), 0)
                r = ro[i + (1 - j)*5]
                np.testing.assert_almost_equal(r, 0.0 * r)
    
    def test_01_04_different_objects(self):
        np.random.seed(13)

After Change


        for imgidx in range(10):
            imgnum = imgidx + 1
            if imgidx < 5:
                ro = result.get_measurement("myobjects", "bar0", imgnum)
                mo = mm[0].get_measurement("myobjects", "bar0", imgnum)
                np.testing.assert_almost_equal(ro, mo)
                self.assertEqual(len(result.get_measurement("myobjects", "bar1", imgnum)), 0)
            else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 120476a18f00256ffb00df68c44574abb7a6c2df
Time: 2011-06-29
Author: thouis@gmail.com
File Name: cellprofiler/modules/tests/test_mergeoutputfiles.py
Class Name: TestMergeOutputFiles
Method Name: test_01_03_different_measurements


Project Name: CellProfiler/CellProfiler
Commit Name: 8c9eca8386a6f2e6ad94856393b4c1b91661078b
Time: 2012-06-20
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/calculatestatistics.py
Class Name: CalculateStatistics
Method Name: include_feature


Project Name: CellProfiler/CellProfiler
Commit Name: 120476a18f00256ffb00df68c44574abb7a6c2df
Time: 2011-06-29
Author: thouis@gmail.com
File Name: cellprofiler/modules/tests/test_mergeoutputfiles.py
Class Name: TestMergeOutputFiles
Method Name: test_01_04_different_objects