Hi, I am trying to use bounds during the fetch but I have this strange error that I do not understand. It seems to work for a while and then crashed.
The error does not show up using lsd-query script.
1 : import lsd
2 : db = lsd.DB('lsd-test/')
3 : q = db.query ('select phat_id, ra,dec, brick from phatphot')
4 : b = [lsd.bounds.rectangle(120,20,160,60), None]
5 : q.fetch(bounds)
6 : q.fetch(b)
Remote Traceback (most recent call last):
File "/home/morgan/bin/lsd/opt/lsd/current/lib/python/lsd/pool2.py", line 81, in _worker
for result in mapper(item, *mapper_args):
File "/home/morgan/bin/lsd/opt/lsd/current/lib/python/lsd/table_catalog.py", line 90, in _get_cells_kernel
for bounds_xy, bounds_t in bounds:
ValueError: need more than 1 value to unpack
Any Idea of what I do wrong?