Index: /trunk/ippToPsps/jython/detectionbatch.py
===================================================================
--- /trunk/ippToPsps/jython/detectionbatch.py	(revision 32181)
+++ /trunk/ippToPsps/jython/detectionbatch.py	(revision 32182)
@@ -670,4 +670,7 @@
 
                 #self.logger.infoTitle("Processing " + ota)
+                if not self.scratchDb.astrometricSolutionOK(ota):
+                    self.logger.info("| %5s |            ------------- Bad astrometric solution : rejecting ------------                    |" % ota)
+                    continue
 
                 # populate remainder of tables
