Index: /trunk/Ohana/src/opihi/dvo/photometry.c
===================================================================
--- /trunk/Ohana/src/opihi/dvo/photometry.c	(revision 4680)
+++ /trunk/Ohana/src/opihi/dvo/photometry.c	(revision 4681)
@@ -716,4 +716,14 @@
   double fwhm, typefrac, dM, Xm;
 
+  /** temporary special case for Jen Katz: exclude REF with Ncode > 1 */
+  if ((code != NULL) && (code[0].type == PHOT_REF)) {
+    Nm = 0;
+    for (i = 0; i < average[0].Nm; i++) {
+      TESTCODE (code, measure[i]);
+      Nm++;
+    }
+    if (Nm > 1) return (FALSE);
+  }
+
   if (!ApplySelections[SelectionParam]) return (TRUE);
 
