spacepaste

  1.  
  2. for iteration in config:
  3. dic[iteration['name']] = defaultdict(lambda: defaultdict(int))
  4. for item in dic[iteration['prior']].items():
  5. key = eval(construct(iteration))
  6. dic[iteration['name']][key]['i'] += item[1]['i']
  7. dic[iteration['name']][key]['s'] += item[1]['s']
  8.