Skip to content

Commit ce72226

Browse files
committed
fix when fetch_format='frame'
1 parent 98c0a81 commit ce72226

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datajoint/fetch.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ def __call__(self, *attrs, offset=None, limit=None, order_by=None, format=None,
173173
attributes = [a for a in attrs if not is_key(a)]
174174
ret = self._expression.proj(*attributes).fetch(
175175
offset=offset, limit=limit, order_by=order_by,
176-
as_dict=False, squeeze=squeeze, download_path=download_path)
176+
as_dict=False, squeeze=squeeze, download_path=download_path,
177+
format='array'
178+
)
177179
if attrs_as_dict:
178180
ret = [{k: v for k, v in zip(ret.dtype.names, x) if k in attrs} for x in ret]
179181
else:

0 commit comments

Comments
 (0)