def setID ( self, db ):
    """if annid == 0, create a new identifier"""
    if len(self.annidList) == 0: 
      # KLTODO Temp Function
      self.annidList.append( db.nextID() )
    else:
      db.setBatchID( self.annidList )
dataset/ETHPy150Open neurodata/ndstore/ocpca/batchAnnotation.py/BatchAnnotation.setID/original