示例#1
0
  def destroy(self):

    for func in ('__init__','delete','setName'):
      self.unregisterNotify(self.updateSpectra, 'ccp.nmr.Nmr.Experiment', func)
      self.unregisterNotify(self.updateSpectra, 'ccp.nmr.Nmr.DataSource', func)

    BasePopup.destroy(self)
示例#2
0
    def destroy(self):

        for func in ('__init__', 'delete'):
            self.unregisterNotify(self.updateStructureGen,
                                  'ccp.nmr.Nmr.StructureGeneration', func)

        BasePopup.destroy(self)
示例#3
0
    def destroy(self):

        for func in ('__init__', 'delete', 'setName'):
            self.unregisterNotify(self.updateWindows,
                                  'ccpnmr.Analysis.SpectrumWindow', func)

        BasePopup.destroy(self)
示例#4
0
    def destroy(self):

        for func in ('__init__', 'delete', 'setAnnotation', 'setNumAliasing',
                     'setPosition'):
            self.unregisterNotify(self.updateAfter, 'ccp.nmr.Nmr.PeakDim',
                                  func)

        BasePopup.destroy(self)
示例#5
0
    def destroy(self):

        for func in ('__init__', 'delete'):
            self.unregisterNotify(self.updateChains,
                                  'ccp.molecule.MolSystem.Chain', func)
        for func in ('__init__', 'delete'):
            self.unregisterNotify(self.updateShiftLists,
                                  'ccp.nmr.Nmr.ShiftList', func)

        BasePopup.destroy(self)
示例#6
0
    def destroy(self):

        for func in ('__init__', 'delete', 'setValue', 'setError'):
            for clazz in ('ccp.nmr.Nmr.JCoupling', ):
                self.unregisterNotify(self.updateAfter, clazz, func)

        for func in ('__init__', 'delete'):
            for clazz in ('ccp.nmr.Nmr.JCouplingList', ):
                self.unregisterNotify(self.updateJCouplingLists, clazz, func)

        BasePopup.destroy(self)
示例#7
0
  def destroy(self):
 
    for func in ('__init__', 'delete', ''):                                           
      self.unregisterNotify(self.updatePeakSizeTable, 'ccpnmr.Analysis.AxisType', func)

    self.unregisterNotify(self.changedDoSpinSystemAnnotations, 'ccpnmr.Analysis.AnalysisProject', 'setDoSpinSystemAnnotations')
    self.unregisterNotify(self.changedDoAssignmentAnnotations, 'ccpnmr.Analysis.AnalysisProject', 'setDoAssignmentAnnotations')
    self.unregisterNotify(self.changedDoChainAnnotations, 'ccpnmr.Analysis.AnalysisProject', 'setDoChainAnnotations')
    self.unregisterNotify(self.changedPeakDrawMethod, 'ccpnmr.Analysis.AnalysisProject', 'setPeakDrawMethod')
    self.unregisterNotify(self.changedPeakPixelSize, 'ccpnmr.Analysis.AnalysisProject', 'setPeakPixelSize')

    BasePopup.destroy(self)
示例#8
0
    def destroy(self):

        for clazz in ('ccp.nmr.Nmr.Experiment', 'ccp.nmr.Nmr.DataSource'):
            self.registerNotify(self.updateAfter, clazz, 'setName')

        for func in ('__init__', 'delete', ''):
            self.unregisterNotify(self.updateAfter,
                                  'ccpnmr.Analysis.StoredContour', func)

        ###self.unregisterNotify(self.updateAfter, 'memops.Implementation.Url', 'setPath')

        BasePopup.destroy(self)
示例#9
0
    def destroy(self):

        for func in ('__init__', 'delete'):
            for clazz in ('ccp.nmr.Nmr.ShiftList', ):
                self.unregisterNotify(self.updateShiftLists, clazz, func)

        for func in ('__init__', 'delete', 'setNmrChains', 'setResidue',
                     'setResonances', 'addResonance', 'removeResonance'):
            self.unregisterNotify(self.updateSpinSystemsAfter,
                                  'ccp.nmr.Nmr.ResonanceGroup', func)

        BasePopup.destroy(self)
示例#10
0
    def destroy(self):

        self.unregisterNotify(self.deletedPeak, 'ccp.nmr.Nmr.Peak', 'delete')

        for func in ('setAnnotation', 'setDetails', 'setFigOfMerit'):
            self.unregisterNotify(self.updatePeak, 'ccp.nmr.Nmr.Peak', func)
        for func in ('setAnnotation', 'setPosition', 'setNumAliasing'):
            self.unregisterNotify(self.updatePeak, 'ccp.nmr.Nmr.PeakDim', func)
        for func in ('__init__', 'delete', 'setValue'):
            self.unregisterNotify(self.updatePeak, 'ccp.nmr.Nmr.PeakIntensity',
                                  func)

        BasePopup.destroy(self)
示例#11
0
  def destroy(self):

    for func in ('__init__','delete'):
      self.unregisterNotify(self.updateChains, 'ccp.molecule.MolSystem.Chain', func)
      self.unregisterNotify(self.updateShiftLists, 'ccp.nmr.Nmr.ShiftList', func)
      
    for func in ('__init__','delete','setCcpCode',
                 'setResidue','setName','addResonance',
                 'removeResonance','setResonances'):
       self.unregisterNotify(self.updateSpinSystemsAfter, 'ccp.nmr.Nmr.ResonanceGroup', func)

    if self.scoresPopup:
      self.scoresPopup.destroy()

    BasePopup.destroy(self)
示例#12
0
    def destroy(self):

        for func in ('__init__', 'delete', 'setName', 'setDetails', 'setUnit',
                     'setExperiments', 'addExperiment', 'removeExperiment'):
            for clazz in ('ccp.nmr.Nmr.ChemShiftConstraintList',
                          'ccp.nmr.Nmr.DihedralConstraintList',
                          'ccp.nmr.Nmr.DistanceConstraintList',
                          'ccp.nmr.Nmr.HBondConstraintList',
                          'ccp.nmr.Nmr.JCouplingConstraintList',
                          'ccp.nmr.Nmr.RdcConstraintList'):
                self.unregisterNotify(self.updateAfter, clazz, func)
        for func in (
                '__init__',
                'delete',
        ):
            for clazz in ('ccp.nmr.Nmr.ChemShiftConstraint',
                          'ccp.nmr.Nmr.DihedralConstraint',
                          'ccp.nmr.Nmr.DistanceConstraint',
                          'ccp.nmr.Nmr.HBondConstraint',
                          'ccp.nmr.Nmr.JCouplingConstraint',
                          'ccp.nmr.Nmr.RdcConstraint'):
                self.unregisterNotify(self.updateAfter, clazz, func)

        for func in ('__init__', 'delete', 'setChainStates', 'addChainState',
                     'removeChainState', 'addEntry', 'removeEntry',
                     'setResStructures', 'addResStructure', 'setEntries',
                     'removeResStructure', 'setStructures', 'addStructure',
                     'removeStructure'):
            self.unregisterNotify(self.updateAfter,
                                  'ccp.nmr.Nmr.StructureGeneration', func)

        for func in ('__init__', 'delete', 'setDetails'):
            for clazz in ('ccp.nmr.Nmr.ViolationList', ):
                self.unregisterNotify(self.updateAfter, clazz, func)

        for func in (
                '__init__',
                'delete',
        ):
            for clazz in ('ccp.nmr.Nmr.Violation', ):
                self.unregisterNotify(self.updateAfter, clazz, func)

        BasePopup.destroy(self)
示例#13
0
 def destroy(self):
 
   BasePopup.destroy(self)
示例#14
0
 def destroy(self):
 
   self.updateRunParams()
   self.curateNotifiers(self.unregisterNotify)
   
   BasePopup.destroy(self)
示例#15
0
    def destroy(self):
        '''Destroy the popup.'''

        self.administerNotifiers(self.unregisterNotify)
        BasePopup.destroy(self)
示例#16
0
  def destroy(self):

    self.curateNotifiers(self.unregisterNotify)

    BasePopup.destroy(self)
示例#17
0
  def destroy(self):

    self.administerNotifiers(self.unregisterNotify)
    BasePopup.destroy(self)
示例#18
0
    def destroy(self):

        self.administerNotifiers(self.unregisterNotify)
        self.clearMarks()
        BasePopup.destroy(self)
示例#19
0
    def destroy(self):

        self.notify(self.unregisterNotify)
        BasePopup.destroy(self)
示例#20
0
  def destroy(self):

    for func in ('__init__', 'delete'):
      self.unregisterNotify(self.updateAfter, 'ccp.nmr.NmrReference.NmrReferenceStore', func)

    BasePopup.destroy(self)