CellCognition / cecog

A fast and cross-platform image analysis framework for fluorescence time-lapse microscopy and bioimage informatics.
https://cellcognition-project.org
Other
43 stars 17 forks source link

hdf5 reuse brocken if multiprocessing is on #197

Closed rhoef closed 8 years ago

rhoef commented 9 years ago

If one process runs 2 positions I get the following exception between the to positions:

2015-03-21 16:42:43,516 ERROR plate: H2b_aTub_MD20x_exp911, position: 0013
Traceback (most recent call last):
File "../cecog/multiprocess/multianalyzer.py", line 58, in core_helper
post_hdf5_link_list = analyzer.processPositions()
File "../cecog/analyzer/core.py", line 210, in processPositions
nimages = analyzer()
File "../cecog/analyzer/position.py", line 728, in __call__
n_images = self._analyze(ca)
File "../cecog/analyzer/position.py", line 852, in _analyze
cellanalyzer.process()
File "../cecog/analyzer/analyzer.py", line 109, in process
self.timeholder.apply_features(channel)
File "../cecog/analyzer/timeholder.py", line 897, in apply_features
self._apply_features_from_hdf5(channel)
File "../cecog/analyzer/timeholder.py", line 831, in _apply_features_from_hdf5
eccentricity = object_features[j, eccentricity_idx])
TypeError: list indices must be integers, not tuple