58     """calculate the parameters needed to generate a hypo helper config AlgTool 
   59     starting from a the hypoScenario which appears in the chainname for 
   60     an MULT condition. The MULT condition is filtered""" 
   62     if not scenario.startswith(
'MULT'):
 
   63        raise ValueError( f
'routing error, module {__name__}: bad scenario {scenario}')
 
   66     m = rgx_pt.match(scenario)
 
   69         m = rgx_et.match(scenario)
 
   70     groupdict = m.groupdict()
 
   78     condargs.append((
'mult', vals))
 
   81     repcondargs = [RepeatedConditionParams(tree_id = 1,
 
   83                                            chainPartInd=chainPartInd,
 
   93         repfiltargs = [RepeatedConditionParams(tree_id=1,
 
   96         filterparams = [FilterParams(typename=
'ConditionFilter',
 
   98         filterparam_inds = [0]
 
  102         filterparam_inds = [-1] 
 
  109     assert treevec == [0, 0]
 
  111     assert len(repcondargs) == len(filterparam_inds)
 
  114     helper_params = HelperConfigToolParams(treevec=treevec,
 
  115                                            repcondargs=repcondargs,
 
  116                                            filterparams=filterparams,
 
  117                                            filterparam_inds=filterparam_inds)
 
  119     return [helper_params]