Index: trunk/ippToPsps/jython/detectionbatch.py
===================================================================
--- trunk/ippToPsps/jython/detectionbatch.py	(revision 39017)
+++ trunk/ippToPsps/jython/detectionbatch.py	(revision 39094)
@@ -241,5 +241,5 @@
 
         # XXX zp correction should come from DVO
-        detectionThreshold = detectionThreshold + zpImage - 2.5 * math.log10(expTime)
+        detectionThreshold = detectionThreshold + zpImage + 2.5 * math.log10(expTime)
         
         # insert image metadata into table
@@ -489,5 +489,5 @@
         else:
             sqlLine.group("pltScale",     "0.257")                                      
-            sqlLine.group("posAngle",     "-999")                                      
+            # sqlLine.group("posAngle",     "-999")                                      
             sqlLine.group("raErr",        "X_PSF_SIG * 0.257") 
             sqlLine.group("decErr",       "Y_PSF_SIG * 0.257")
