53059cec9053a8429b7f0a8f06e6cbe1672b60e7,cellprofiler/modules/tests/test_groups.py,TestGroups,test_02_01_group_on_two,#TestGroups#,144
Before Change
self.assertTrue(groupings.has_key((plate, site)))
image_set_list = groupings[(plate, site)]
self.assertEqual(len(image_set_list), 3)
expected_image_set_list = \
sorted(filter(lambda x: x[0] == plate and x[2] == site,
image_sets.keys()))
for image_set_key, expected_image_set_key in zip(
image_set_list, expected_image_set_list):
self.assertEqual(image_set_key, expected_image_set_key)
After Change
self.assertEqual(grouping["Metadata_Site"], site)
self.assertEqual(len(image_set_list), 3)
ftr = "_".join((cpmeas.C_FILE_NAME, "DNA"))
for image_number in image_set_list:
file_name = m[cpmeas.IMAGE, ftr, image_number]
p, w, s, rest = file_name.split("_")
self.assertEqual(p, plate)
self.assertEqual(s, site)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: 53059cec9053a8429b7f0a8f06e6cbe1672b60e7
Time: 2013-01-16
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/tests/test_groups.py
Class Name: TestGroups
Method Name: test_02_01_group_on_two
Project Name: pantsbuild/pants
Commit Name: cbb2a4a2ab743db435106fcc575e5b4b661776fb
Time: 2014-04-16
Author: benjy@foursquare.com
File Name: src/python/pants/tasks/jvm_compile/scala/zinc_analysis.py
Class Name: ZincAnalysis
Method Name: split
Project Name: CellProfiler/CellProfiler
Commit Name: 53059cec9053a8429b7f0a8f06e6cbe1672b60e7
Time: 2013-01-16
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/tests/test_groups.py
Class Name: TestGroups
Method Name: test_02_01_group_on_one