65aa8bfe03c924d1c8f5a993ed78b59cb2ef0858,cellprofiler/modules/tests/test_trackobjects.py,TestTrackObjects,test_07_02_lap_one,#TestTrackObjects#,864
Before Change
np.array([[0, 1, 100, 100, 25]]), 1)
self.assertTrue(isinstance(module, T.TrackObjects))
module.run_as_data_tool(workspace)
labels = workspace.measurements.get_all_measurements(
OBJECT_NAME, module.measurement_name(T.F_LABEL))
self.assertEqual(len(labels), 1)
self.assertEqual(len(labels[0]), 1)
self.assertEqual(labels[0][0], 1)
After Change
np.array([[0, 1, 0, 0, 100, 100, 25]]), 1)
self.assertTrue(isinstance(module, T.TrackObjects))
module.run_as_data_tool(workspace)
self.check_measurements(workspace, {
T.F_LABEL: [ np.array([1]) ],
T.F_PARENT_GROUP_INDEX: [ np.array([0]) ],
T.F_PARENT_OBJECT_NUMBER: [ np.array([0]) ],
T.F_DISTANCE_TRAVELED: [ np.zeros(1) ],
T.F_INTEGRATED_DISTANCE: [ np.zeros(1) ],
T.F_TRAJECTORY_X: [ np.zeros(1) ],
T.F_TRAJECTORY_Y: [ np.zeros(1) ],
T.F_NEW_OBJECT_COUNT: [ 1 ],
T.F_LOST_OBJECT_COUNT: [ 0 ],
T.F_MERGE_COUNT: [ 0 ],
T.F_SPLIT_COUNT: [ 0 ]
})
def test_07_03_bridge_gap(self):
"""Bridge a gap of zero frames between two objects"""
workspace, module = self.make_lap2_workspace(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 17
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: 65aa8bfe03c924d1c8f5a993ed78b59cb2ef0858
Time: 2010-10-07
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/tests/test_trackobjects.py
Class Name: TestTrackObjects
Method Name: test_07_02_lap_one
Project Name: CellProfiler/CellProfiler
Commit Name: 65aa8bfe03c924d1c8f5a993ed78b59cb2ef0858
Time: 2010-10-07
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/tests/test_trackobjects.py
Class Name: TestTrackObjects
Method Name: test_07_01_lap_none
Project Name: CellProfiler/CellProfiler
Commit Name: 65aa8bfe03c924d1c8f5a993ed78b59cb2ef0858
Time: 2010-10-07
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/tests/test_trackobjects.py
Class Name: TestTrackObjects
Method Name: test_07_05_filter_gap
Project Name: CellProfiler/CellProfiler
Commit Name: 65aa8bfe03c924d1c8f5a993ed78b59cb2ef0858
Time: 2010-10-07
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/tests/test_trackobjects.py
Class Name: TestTrackObjects
Method Name: test_07_02_lap_one