Index: trunk/ippToPsps/jython/detectionbatch.py
===================================================================
--- trunk/ippToPsps/jython/detectionbatch.py	(revision 38958)
+++ trunk/ippToPsps/jython/detectionbatch.py	(revision 38973)
@@ -341,5 +341,5 @@
         self.scratchDb.execute(sql)
 
-        print "---- inserted ImageMeta into mysql"
+        self.logger.debugPair("inserted into mysql", "ImageMeta")
 
         self.scratchDb.updateRecalStats(tableName, header['IMAGEID'], str(pltscale));
@@ -347,10 +347,8 @@
         self.scratchDb.updateAllRows(tableName, "processingVersion", str(self.skychunk.processingVersion))
 
-        print "---- updated things"
-
         if 'NASTRO' in header: self.totalNumPhotoRef = self.totalNumPhotoRef + int(header['NASTRO'])
         self.scratchDb.replaceNullsInThisColumn(tableName, "polyOrder", "0")
 
-        print "---- completed ImageMeta"
+        self.logger.debugPair("completed", "ImageMeta")
         return True
 
@@ -691,4 +689,8 @@
                 for y in range(self.startY, self.endY):
                     
+                    ## for a quick test, just do the first chip:
+                    if self.config.test and self.config.camera == "gpc1":
+                        if x != 0 or y != 1: continue
+
                     # dodge the corners
                     if x==0 and y==0: continue
@@ -717,4 +719,8 @@
         for x in range(self.startX, self.endX):
             for y in range(self.startY, self.endY):
+
+                ## for a quick test, just do the first chip:
+                if self.config.test and self.config.camera == "gpc1":
+                    if x != 0 or y != 1: continue
 
                 # dodge the corners
@@ -927,4 +933,8 @@
             for y in range(self.startY, self.endY):
                
+                ## for a quick test, just do the first chip:
+                if self.config.test and self.config.camera == "gpc1":
+                    if x != 0 or y != 1: continue
+
                 # dodge the corners
                 if x==0 and y==0: continue
@@ -1050,8 +1060,10 @@
     def importIppTables(self, filter=""):
         
-        regex = ".*.psf"
+        ## XXX does the regex work?
+        regex = "XY*"
     
-        if False and self.config.test and self.config.camera == "gpc1":
-            regex = "XY01.psf"
+        ## for a quick test, just do the first chip:
+        if self.config.test and self.config.camera == "gpc1":
+            regex = "XY01*"
             
         print "my ID: " + str(self.id)
@@ -1066,5 +1078,9 @@
             #### crap crap crap
 
-        regex = ".*"
+        ## this is apparently over-riding the choices above
+        ## regex = ".*"
+
+        ## the list of columns above works fine for *.psf, but breaks the *.deteff tables
+        ## just read all columns
         columns = "*"
 
