Skip to content

Commit 3df05c0

Browse files
Merge pull request #880 from dimitri-yatsenko/master
fix #876 in 0.12
2 parents 5b95862 + dff22f3 commit 3df05c0

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Release notes
22

3+
### 0.12.9 -- Mar 12, 2021
4+
* Fix bug with fetch1 with `dj.config['fetch_format']="frame"`. (#876) PR #880
5+
36
### 0.12.8 -- Jan 12, 2021
47
* table.children, .parents, .descendents, and ancestors can return queryable objects. PR #833
58
* Load dependencies before querying dependencies. (#179) PR #833

datajoint/fetch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def __call__(self, *attrs, squeeze=False, download_path='.'):
242242
for name in heading.names)
243243
else: # fetch some attributes, return as tuple
244244
attributes = [a for a in attrs if not is_key(a)]
245-
result = self._expression.proj(*attributes).fetch(squeeze=squeeze, download_path=download_path)
245+
result = self._expression.proj(*attributes).fetch(squeeze=squeeze, download_path=download_path, format="array")
246246
if len(result) != 1:
247247
raise DataJointError('fetch1 should only return one tuple. %d tuples were found' % len(result))
248248
return_values = tuple(

datajoint/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "0.12.8"
1+
__version__ = "0.12.9"
22

33
assert len(__version__) <= 10 # The log table limits version to the 10 characters

docs-parts/intro/Releases_lang1.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.12.9 -- Mar 12, 2021
2+
----------------------
3+
* Fix bug with fetch1 with `dj.config['fetch_format']="frame"`. Issue #876 (PR #880)
4+
15
0.12.8 -- Jan 12, 2021
26
---------------------
37
* table.children, .parents, .descendents, and ancestors can return queryable objects. PR #833

0 commit comments

Comments
 (0)