def updateExceptions ( self, ch, key, resolution, exid, exceptions, update=False ):
    """Merge new exceptions with existing exceptions"""

    curexlist = self.getExceptions( ch, key, resolution, exid ) 

    update = False

    if curexlist!=[]:
      oldexlist = [ ocplib.XYZMorton ( trpl ) for trpl in curexlist ]
      newexlist = [ ocplib.XYZMorton ( trpl ) for trpl in exceptions ]
      exlist = set(newexlist / oldexlist)
      exlist = [ ocplib.MortonXYZ ( zidx ) for zidx in exlist ]
      update = True
    else:
      exlist = exceptions

    self.putExceptions ( ch, key, resolution, exid, exlist, update )
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.updateExceptions/operator `+` -> `/`