Index: trunk/psphot/src/psphotStackImageLoop.c
===================================================================
--- trunk/psphot/src/psphotStackImageLoop.c	(revision 27657)
+++ trunk/psphot/src/psphotStackImageLoop.c	(revision 27848)
@@ -41,7 +41,16 @@
                 if (! readout->data_exists) { continue; }
 
+# if (0)		
+		// uncomment to generate matched psfs
+		if (!psphotStackMatchPSFs (config, view)) {
+                    psError(psErrorCodeLast(), false, "failure in psphotStackMatchPSFs for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout);
+                    psFree (view);
+                    return false;
+		}
+# endif
+
 		// XXX for now, we assume there is only a single chip in the PHU:
 		if (!psphotStackReadout (config, view)) {
-                    psError(psErrorCodeLast(), false, "failure in psphotReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout);
+                    psError(psErrorCodeLast(), false, "failure in psphotStackReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout);
                     psFree (view);
                     return false;
