code: def build_job_configs(self, args):
          
          job_configs = {}
  
          ttype = args['ttype']
          (sim_targets_yaml, sim) = NAME_FACTORY.resolve_targetfile(args)
          targets = load_yaml(sim_targets_yaml)
  
          base_config = dict(ttype=ttype,
                             roi_baseline=args['roi_baseline'],
                             extracopy = args['extracopy'],
                             sim=sim)
  
          for target_name in targets.keys():
              targetdir = NAME_FACTORY.sim_targetdir(target_type=ttype,
                                                     target_name=target_name,
                                                     sim_name=sim)
              logfile = os.path.join(targetdir, 'copy_base_dir.log')
              job_config = base_config.copy()
              job_config.update(dict(target=target_name,
                                     logfile=logfile))
              job_configs[target_name] = job_config
  
          return job_configs
docs: Hook to build job configurations