Index: /trunk/Ohana/src/relphot/src/select_images.c
===================================================================
--- /trunk/Ohana/src/relphot/src/select_images.c	(revision 12725)
+++ /trunk/Ohana/src/relphot/src/select_images.c	(revision 12726)
@@ -66,4 +66,5 @@
 
   if (VERBOSE) fprintf (stderr, "finding images\n");
+  BuildChipMatch (timage, Ntimage);
 
   nimage = 0;
@@ -85,4 +86,6 @@
     }
     
+    if (!FindMosaicForImage (timage, Ntimage, i)) continue;
+
     /* define image corners */
     Xi[0] = 0;            Yi[0] = 0;
