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.assertAlmostEqual(y[0], 10., 1)
        a = m.get_current_measurement(OBJECTS_NAME,
                                      ID.M_ANGLE)
        self.assertEqual(len(a), 1)
        self.assertAlmostEqual(a[0], 135, 0)
        self.assertEqual(count, 2)
        a = m.get_current_measurement(OBJECTS_NAME,
                                      ID.M_ANGLE)
        self.assertEqual(len(a), 2)
        if a[0] > 90:
            (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),
            (OBJECTS_NAME, ID.I.M_NUMBER_OBJECT_NUMBER, cpmeas.COLTYPE_INTEGER),
            (cpmeas.IMAGE, ID.I.FF_COUNT % OBJECTS_NAME, cpmeas.COLTYPE_INTEGER))