Index: branches/eam_branches/ipp-20121219/ippToPsps/jython/batch.py
===================================================================
--- branches/eam_branches/ipp-20121219/ippToPsps/jython/batch.py	(revision 35003)
+++ branches/eam_branches/ipp-20121219/ippToPsps/jython/batch.py	(revision 35006)
@@ -39,4 +39,9 @@
                  useFullTables): 
 
+        # print "starting the batch"
+
+        # self.printline = 0
+        # self.testprint()
+
         self.readHeader = False
         self.config = config
@@ -48,4 +53,6 @@
         self.logger.infoSeparator()
         self.logger.debug("Batch class constructor")
+
+        # self.testprint()
 
         self.configDir = os.getenv("IPPTOPSPS_DATA")
@@ -62,4 +69,6 @@
         self.pspsVoTableFilePath = self.configDir + "tables." + batchType + ".vot"
 
+        # self.testprint()
+
         # check FITS file is ok
         if self.fits: 
@@ -99,4 +108,6 @@
         if not os.path.exists(self.localOutPath): os.makedirs(self.localOutPath)
 
+        # self.testprint()
+
         # store today's date
         now = datetime.datetime.now();
@@ -116,7 +127,13 @@
             self.logger.infoPair("Input FITS primary header", "%s cards found" % self.fits.getPrimaryHeaderCardCount())
 
+        # self.testprint()
+
         self.logger.infoPair("Output path", self.localOutPath)
 
     
+    def testprint(self):
+      print "here ", self.printline
+      self.printline += 1
+
     '''
     Static method to generated batch name from batch ID
@@ -380,4 +397,6 @@
       self.logger.infoPair("Importing tables with filter", filter)
 
+      # print "trying to read ", self.fits.getPath()
+
       try:
           tables = stilts.treads(self.fits.getPath())
@@ -389,4 +408,5 @@
       for table in tables:
 
+          # print "import IPP table ", table
           match = re.match(filter, table.name)
           if not match: continue
@@ -517,4 +537,5 @@
             raise
 
+        # this reads the detection tables from the CMF/SMF file(s)
         if not self.importIppTables():
             self.logger.errorPair("Aborting this batch", "could not import IPP tables")
