code: def get_regulate_amounts(self):
          p = pb.controlsExpressionWithTemplateReac()
          s = _bpp('Searcher')
          res = s.searchPlain(self.model, p)
          res_array = [_match_to_array(m) for m in res.toArray()]
          stmts = []
          for res in res_array:
              '''
              controller_er = res[p.indexOf('controller ER')]
              generic_controller_er = res[p.indexOf('generic controller ER')]
              controller_simple_pe = res[p.indexOf('controller simple PE')]
              controller_pe = res[p.indexOf('controller PE')]
              control = res[p.indexOf('Control')]
              conversion = res[p.indexOf('Conversion')]
              input_pe = res[p.indexOf('input PE')]
              input_simple_pe = res[p.indexOf('input simple PE')]
              changed_generic_er = res[p.indexOf('changed generic ER')]
              output_pe = res[p.indexOf('output PE')]
              output_simple_pe = res[p.indexOf('output simple PE')]
              changed_er = res[p.indexOf('changed ER')]
              '''
              controller = self._get_agents_from_entity(res[2])
              controlled_pe = res[6]
              controlled = self._get_agents_from_entity(controlled_pe)
              conversion = res[5]
              direction = conversion.getTemplateDirection()
              if direction is not None:
                  direction = direction.name()
                  if direction != 'FORWARD':
                      logger.warning('Unhandled conversion direction %s' %
                                     direction)
                      continue
              int_type = conversion.getInteractionType().toArray()
              if int_type:
                  for it in int_type:
                      for term in it.getTerm().toArray():
                          pass
              control = res[4]
              control_type = control.getControlType()
              if control_type:
                  control_type = control_type.name()
              ev = self._get_evidence(control)
              for subj, obj in itertools.product(_listify(controller),
                                                 _listify(controlled)):
                  subj_act = ActivityCondition('transcription', True)
                  subj.activity = subj_act
                  if control_type == 'ACTIVATION':
                      st = IncreaseAmount(subj, obj, evidence=ev)
                  elif control_type == 'INHIBITION':
                      st = DecreaseAmount(subj, obj, evidence=ev)
                  else:
                      logger.warning('Unhandled control type %s' % control_type)
                      continue
                  st_dec = decode_obj(st, encoding='utf-8')
                  self.statements.append(st_dec)