Commit 0005818a authored by Andrew Cohen's avatar Andrew Cohen

check for segCC field in cytoToNuclearRatio. new matlabPollDB.

parent 93ff4bf8
......@@ -64,13 +64,17 @@ for i=1:length(cellIDs)
else
c=Read.getCell(conn,cellIDs(i));
end
if isfield(c,'segCC')
iRadius=c.segCC-floor(c.segCC);
if 0==iRadius
iRadius=1;
if 0==iRadius
iRadius=1;
else
prec=ceil(log10(length(rgRadius)+1));% # of digits in the radius tag
iRadius=iRadius*10^prec;
iRadius=int32(iRadius);
end
else
prec=ceil(log10(length(rgRadius)+1));% # of digits in the radius tag
iRadius=iRadius*10^prec;
iRadius=int32(iRadius);
iRadius=1;
end
idxInner=find(labelInner(:,:,:,iRadius)==c.cellID);
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment