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_expandorshrinkobjects.py   CellProfiler(Download)
            ((modules[2], "ShrunkenNuclei", E.O_SHRINK_INF, False),
             (modules[3], "ExpandedOnceNuclei", E.O_EXPAND, True),
             (modules[4], "ShrunkenOnceNuclei", E.O_SHRINK, False),
             (modules[5], "ExpandedNuclei", E.O_EXPAND_INF, False),
             (modules[6], "DividedNuclei", E.O_DIVIDE, False)):
        labels[1:9,1:9] = 1
        expected = morph.thin(labels, iterations = 1)
        workspace, module = self.make_workspace(labels, E.O_SHRINK, 1)
        module.run(workspace)
        objects = workspace.object_set.get_objects(OUTPUT_NAME)