pyparty
pyparty copied to clipboard
FIX THIS DAMN REGION PROPS BUG
Traceback (most recent call last):
File "/home/adam/Desktop/pyparty/pyparty/logging_utils/logger.py", line 219, in _wraps
return fcn(_args, *_kwargs)
File "/home/adam/Desktop/pyparty/pyparty/scripts/objectmodeling/objecthunt.py", line 178, in run_main
MPLOT('multihist', 'hist', 'multihistkwds', multidir)
File "/home/adam/Desktop/pyparty/pyparty/scripts/objectmodeling/objecthunt.py", line 85, in wrapper
func(_args, *_kwargs)
File "/home/adam/Desktop/pyparty/pyparty/scripts/objectmodeling/objecthunt.py", line 150, in MPLOT
mcpltfcn(**mcpltkwds)
File "/home/adam/Desktop/pyparty/pyparty/multi.py", line 445, in hist
attr_list = [getattr(c, attr) for c in self.canvii]
File "/home/adam/Desktop/pyparty/pyparty/tools/canvas.py", line 971, in getattr
return getattr(self._particles, attr)
File "/home/adam/Desktop/pyparty/pyparty/tools/manager.py", line 413, in getattr
out = tuple(getattr(p, attr) for p in self.plist)
File "/home/adam/Desktop/pyparty/pyparty/tools/manager.py", line 413, in
Could you paste your code?
Hey,
The bug is on the pyparty end, not a scikit image bug or anything. Also, didn't realize anyone else was on this board. Are you using this library?
No, I'm not using the library. I just had the same error when using scikit-image and this issue page came up when I googled it.
FWIW the problem was that I was passing a color image to something that could only accept grayscale, if memory serves correctly.