Skip to content

Commit 243883e

Browse files
Merge pull request #245 from guzman-raphael/fix-238
Update error message3
2 parents 14c094e + cb0e8a8 commit 243883e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

+dj/Relvar.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function insert(self, tuples, command)
251251
elseif header.attributes(i).isBlob
252252
assert(~issparse(v), ...
253253
'DataJoint:DataType:Mismatch', ...
254-
'The field `%s` must not be a sparse blob', ...
254+
'Sparse matrix in blob field `%s` is currently not supported', ...
255255
header.attributes(i).name);
256256
valueStr = sprintf('%s"{M}",', valueStr);
257257
blobs{end+1} = v; %#ok<AGROW>
@@ -369,7 +369,7 @@ function update(self, attrname, value)
369369
case header.attributes(ix).isBlob
370370
assert(~issparse(value), ...
371371
'DataJoint:DataType:Mismatch', ...
372-
'The field `%s` must not be a sparse blob', ...
372+
'Sparse matrix in blob field `%s` is currently not supported', ...
373373
attrname);
374374
valueStr = '"{M}"';
375375
value = {value};

0 commit comments

Comments
 (0)