83e9e5595156617f79bd50d4d32fa4d92ff8c07b,pyCellProfiler/cellprofiler/gui/datatoolframe.py,DataToolFrame,load_measurements,#DataToolFrame#Any#,94
Before Change
self.SetIcon(get_icon())
def load_measurements(self, measurements_file_name):
handles = loadmat(measurements_file_name, struct_as_record=True)
m = handles ["handles"][0,0][cpp.MEASUREMENTS][0,0]
self.measurements = cpmeas.Measurements()
for object_name in m.dtype.fields.keys() :
omeas = m[object_name][0,0]
for feature_name in omeas.dtype.fields.keys():
if object_name == cpmeas.IMAGE:
After Change
def load_measurements(self, measurements_file_name):
self.measurements = cpmeas.Measurements()
self.measurements.load(measurements_file_name)
def on_run(self, event):
image_set_list = cpi.ImageSetList()
image_set = image_set_list.get_image_set(0)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: CellProfiler/CellProfiler
Commit Name: 83e9e5595156617f79bd50d4d32fa4d92ff8c07b
Time: 2010-01-23
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/gui/datatoolframe.py
Class Name: DataToolFrame
Method Name: load_measurements
Project Name: hanxiao/bert-as-service
Commit Name: 2bfe5bfcec7759ae022b1a479411aa7d1b8401f1
Time: 2019-05-06
Author: zyn2122@gmail.com
File Name: example/example7.py
Class Name:
Method Name:
Project Name: tyarkoni/pliers
Commit Name: 0a37dea8cd7bc8d533ee971cb6fc5ec59537f4b7
Time: 2017-10-22
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/text.py
Class Name: PartOfSpeechExtractor
Method Name: _extract