IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2014, 5:30:49 PM (12 years ago)
Author:
heather
Message:

diff batch progress (sas 37) - metadata is correct, diff detection is in but needs testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/loader.py

    r37355 r37748  
    2424from objectbatch import ObjectBatch
    2525
     26from diffbatch import DiffBatch
     27#from diffobjectbatch import DiffObjectBatch
     28
     29#
     30#
    2631'''
    2732Loader class
     
    191196        # loop round IDs of all items to be processed
    192197        self.ippToPspsDb.lockBatchTable()
    193         #self.logger.infoPair("heather:","lockbatchtable")
     198        self.logger.infoPair("heather:","lockbatchtable")
    194199        unattemptedCount = 0
    195200        for id in ids:
    196             #self.logger.infoPair("heather:","in ids")
     201            self.logger.infoPair("heather:","in ids")
    197202            #self.logger.infoPair("heather:id",str(id))
    198203            batchID = self.ippToPspsDb.createNewBatch(batchType, id)
     
    202207                unattemptedCount += 1
    203208                continue
    204             #self.logger.infoPair("heather:","passed logic")
     209            self.logger.infoPair("heather:","passed logic")
    205210
    206211            self.ippToPspsDb.unlockTables()
     
    244249   
    245250                elif batchType == "DF":
     251                    self.logger.infoPair("wegothere!","we are awesome")
    246252                    batch = DiffBatch(self.logger,
    247253                            self.config,
Note: See TracChangeset for help on using the changeset viewer.