Index: /trunk/Ohana/src/relphot/src/select_images.c
===================================================================
--- /trunk/Ohana/src/relphot/src/select_images.c	(revision 39482)
+++ /trunk/Ohana/src/relphot/src/select_images.c	(revision 39483)
@@ -104,14 +104,16 @@
 
     // XXX I am just going for force this for the moment:
-    goto found_it;
+    // goto found_it;
 
     /* exclude images by photcode */
-    ecode = GetPhotcodeEquivCodebyCode (timage[i].photcode);
-    found = FALSE;
-    int Ns;
-    for (Ns = 0; !found && (Ns < Nphotcodes); Ns++) {
+    if (FALSE) {
+      ecode = GetPhotcodeEquivCodebyCode (timage[i].photcode);
+      found = FALSE;
+      int Ns;
+      for (Ns = 0; !found && (Ns < Nphotcodes); Ns++) {
 	if (ecode == photcodes[Ns][0].code) found = TRUE;
-    }
-    if (!found) continue;
+      }
+      if (!found) continue;
+    }
 
     /* exclude images by time */
@@ -152,7 +154,7 @@
     }
     if (RmaxImage - RminImage > 180.0) {
-	double tmp = RminImage;
-	RmaxImage = RminImage;
-	RminImage = tmp - 360.0;
+      double tmp = RminImage;
+      RminImage = RmaxImage - 360.0;
+      RmaxImage = tmp;
     }
 
