Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 450: Line 450:
var bli = kx+(ky+1)*thisdatax.length;
var bli = kx+(ky+1)*thisdatax.length;
var bri = kx+1+(ky+1)*thisdatax.length;
var bri = kx+1+(ky+1)*thisdatax.length;
-
if(!thisdataz[bli] || !thisdataz[tli] || thisdataz[tri] || thisdataz[bri])
+
if(!thisdataz[bli] || !thisdataz[tli] || !thisdataz[tri] || !thisdataz[bri])
{
{
-
alert("Porblem!\nkx:" + kx + "\nky:" + ky + "\nkx is a "+typeof(kx) + "\nky is a" +typeof(ky) + "\nindex:" + bli+"\nz:"+thisdataz[kx+(ky+1)*thisdatax.length] + "\nset:" + index);
+
alert("Porblem!\nkx:" + kx + "\nky:" + ky + "\nkx is a "+typeof(kx) + "\nky is a" +typeof(ky) + "\nset:" + index);
}
}
thisz = interp2(thisdatax[kx],  
thisz = interp2(thisdatax[kx],  

Revision as of 04:56, 26 September 2011