def applyCubeExceptions ( self, ch, annoids, resolution, idx, cube ):

    # get the size of the image and cube
    [ xcubedim, ycubedim, zcubedim ] = cubedim = self.datasetcfg.cubedim [ resolution ] 
  
    (x,y,z) = ocplib.MortonXYZ ( idx )

    # for the target ids
    for annoid in annoids:
      # apply exceptions
      exceptions = self.getExceptions( ch, idx, resolution, annoid ) 
      for e in exceptions:
        cube.data[e[2],e[1],e[0]]=annoid

  #
  #  zoomVoxels
  #
Create a new instance of rmqHandler class
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.applyCubeExceptions--crossover with--dataset/ETHPy150Open BrightcoveOS/Diamond/src/diamond/handler/rabbitmq_topic.py/rmqHandler.__init__