Example #1
0
 def removeZwPinchKt(self, lZwRm, lIDZPinch):
     Fkt.addLElToList(lIDZPinch, [Z.IDZ for Z in lZwRm])
     for cZw in lZwRm:
         for cKt in cZw.lKZw:
             cKt.pinchIt = True
     lZwKeep = []
     for cZw in self.lZw:
         if cZw not in lZwRm:
             lZwKeep.append(cZw)
     self.lZw = [cZw for cZw in lZwKeep]
     if len(self.lZw) == 0:
         self.pinchIt = True  # remove this one