Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/cellprofiler/modules/tests/test_identifydeadworms.py   CellProfiler(Download)
        self.assertEqual(count, 1)
        x = m.get_current_measurement(OBJECTS_NAME,
                                      ID.I.M_LOCATION_CENTER_X)
        self.assertEqual(len(x), 1)
        self.assertAlmostEqual(x[0], 9., 1)
        self.assertAlmostEqual(a[order[1]], 45, 0)
        x = m.get_current_measurement(OBJECTS_NAME,
                                      ID.I.M_LOCATION_CENTER_X)
        self.assertEqual(len(x), 2)
        self.assertAlmostEqual(x[order[0]], 9., 0)
        columns = module.get_measurement_columns(workspace.pipeline)
        expected = (
            (OBJECTS_NAME, ID.I.M_LOCATION_CENTER_X, cpmeas.COLTYPE_INTEGER),
            (OBJECTS_NAME, ID.I.M_LOCATION_CENTER_Y, cpmeas.COLTYPE_INTEGER),
            (OBJECTS_NAME, ID.M_ANGLE, cpmeas.COLTYPE_FLOAT),