Index: trunk/ippToPsps/jython/detectionbatch.py
===================================================================
--- trunk/ippToPsps/jython/detectionbatch.py	(revision 31388)
+++ trunk/ippToPsps/jython/detectionbatch.py	(revision 31389)
@@ -51,6 +51,6 @@
            self.endY = 8
 
-       #self.startX = 6
-       #self.endX = 7
+       #self.startX = 1
+       #self.endX = 2
        #self.startY = 7
        #self.endY = 8
@@ -313,4 +313,5 @@
         self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.dataRelease))
         self.totalNumPhotoRef = self.totalNumPhotoRef + int(header['NASTRO'])
+        self.scratchDb.replaceNullsInThisColumn(tableName, "polyOrder", "0")
 
     '''
@@ -640,5 +641,4 @@
 
     file = gpc1Db.getCameraStageSmf(camID)
-    #file = "detdemo.fits" 
     detectionBatch = DetectionBatch(logger, camID, file, False)
 
@@ -646,5 +646,5 @@
 
         detectionBatch.createEmptyPspsTables()
-        detectionBatch.importIppTables("XY33\.psf")
+        #detectionBatch.importIppTables(".*.psf")
         if detectionBatch.populatePspsTables():
             detectionBatch.exportPspsTablesToFits("([a-zA-Z]+)")
