We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c2e419 commit 86a2c2cCopy full SHA for 86a2c2c
datajoint/blob.py
@@ -150,7 +150,7 @@ def pack_blob(self, obj):
150
151
# blob types in the expanded dj0 blob format
152
self.set_dj0()
153
- if not isinstance(obj, np.ndarray):
+ if not isinstance(obj, (np.ndarray, np.number)):
154
# python built-in data types
155
if isinstance(obj, bool):
156
return self.pack_bool(obj)
0 commit comments