Skip to content
Snippets Groups Projects
Commit 1c63d327 authored by ac 20's avatar ac 20
Browse files

sqlEncodeVector handle scalar

parent 6db6e057
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,6 @@ str=jsonencode(v);
if length(v)>1
str(1)='(';
str(end)=')';
else
str=['(' str ')'];
end
\ No newline at end of file
......@@ -254,7 +254,7 @@ cmd=['select cellID,centroid from tblCells where trackID=' num2str(itid) ' AND t
num2str(time)];
q=ljsFetch(conn,cmd);
if size(q,1)>1
fprintf(2,'rut roh! duplicate track entries\n');
fprintf(2,'rut roh! duplicate track entries conn=%s time=%d\n',conn.DataSource,time);
end
if ~isempty(q)
d2TrackID=itid;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment