示例#1
0
文件: Integrater.py 项目: xia2/xia2
  def set_integrater_refiner(self, refiner):
    '''Set the refiner implementation to use for this integration.'''

    if not inherits_from(refiner.__class__, 'Refiner'):
      raise RuntimeError, 'input %s is not a Refiner implementation' % \
            refiner.__name__

    self._intgr_refiner = refiner
    self.set_integrater_prepare_done(False)
示例#2
0
文件: Integrater.py 项目: xia2/xia2
  def set_integrater_indexer(self, indexer):
    '''Set the indexer implementation to use for this integration.'''

    if not inherits_from(indexer.__class__, 'Indexer'):
      raise RuntimeError, 'input %s is not an Indexer implementation' % \
            indexer.__name__

    self._intgr_indexer = indexer
    self.set_integrater_prepare_done(False)