Im using trunk checkout of Cell profiler 2 on my Ubuntu 10.10 x86_64 and I’ve encountered lots of exceptions when running my pipeline.
All exceptions were caused by bad argument type in call to scipy.ndimage.sum function.
The last parameter (“index”) to sum function should be one of:
[code][numpy.int8, numpy.int16, numpy.int32, numpy.uint8, numpy.uint16, numpy.bool]
see scipy/ndimage/measurements.py [/code]
but was int64 by default on 64bit linux. ex.:
In : import numpy as np
In : np.arange(5).dtype
I’ve scanned the code for all occurances of this problem, fixed them and have a patch file for it against updated trunk (r10952).
University of Toronto