Commit 96c687e1 authored by Tom Dwelly's avatar Tom Dwelly
Browse files

fix typo

parent c2c8083d
......@@ -1058,9 +1058,9 @@ function submitVIinfo(){
case "Z": zpipe = keyvals[i]; break;
case "RUN1D": run1d = keyvals[i]; break;
case "RUN2D": run2d = keyvals[i]; break;
case "CATALOGID": catalogid = keyvals[i]; break;
case "FIELD": field = keyvals[i]; break;
case "DESIGNID": designid = keyvals[i]; break;
case "CATALOGID": catalogid = keyvals[i]; break;
}
}
......@@ -1086,9 +1086,9 @@ function submitVIinfo(){
FD.append("RUN2D" ,run2d);
FD.append("ISINTERESTING",is_interesting);
FD.append("ISBLAGN" ,is_blagn);
FD.append("CATALOGID" ,catalogid);
FD.append("FIELD" ,field);
FD.append("DESIGNID" ,designid);
FD.append("CATALOGID" ,catalogid);
// // -----------------------------
......@@ -1162,17 +1162,17 @@ function writeVIinfo(){
case "PLUG_RA": ra = keyvals[i]; break;
case "PLUG_DEC": dec = keyvals[i]; break;
case "Z": zpipe = keyvals[i]; break;
case "CATALOGID": catalogid = keyvals[i]; break;
case "FIELD": field = keyvals[i]; break;
case "DESIGNID": designid = keyvals[i]; break;
case "CATALOGID": catlogid = keyvals[i]; break;
}
}
if ( is_blagn == true ) { str_is_blagn = " BLAGN!";}
if ( is_interesting == true ) { str_is_interesting = " Interesting!";}
str = sprintf("SDSSOBJECT %5d %5d %4d %12.7f %12.7f %10s %.7g %3s \"%8s\" \"%s\" \"%s\"%s%s\n %d %d %011d",
str = sprintf("SDSSOBJECT %5d %5d %4d %12.7f %12.7f %10s %.7g %3s \"%8s\" \"%s\" \"%s\"%s%s\n %011d %d %d ",
plate, mjd, fiberid, ra, dec, zpipe, znow, z_conf_person,
class_person, issue, comments, str_is_blagn, str_is_interesting,
field, designid, catalogid);
catalogid, field, designid);
outbox.value = str;
}
......@@ -1217,8 +1217,8 @@ function writePipeInfo(){
keyvals[i],keyvals[i]);
document.getElementById("pipeParams_TARGET_BITMASK" ).innerHTML = str;
} break;
case "FIELD": if (mode == "SDSS5") {document.getElementById("pipeParams_PLATE").innerHTML = keyvals[i]}; break;
case "CATALOGID": if (mode == "SDSS5") {document.getElementById("pipeParams_FIBERID").innerHTML = keyvals[i]}; break;
case "FIELD": if (mode == "SDSS5") {document.getElementById("pipeParams_PLATE").innerHTML = keyvals[i]}; break;
}
}
......
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