code: def build_job_configs(self, args):
          
          job_configs = {}
  
          components = Component.build_from_yamlfile(args['comp'])
          datafile = args['data']
          if datafile is None or datafile == 'None':
              return job_configs
          NAME_FACTORY.update_base_dict(args['data'])
  
          for comp in components:
              zcut = "zmax%i" % comp.zmax
  
              mktimelist = copy.copy(comp.mktimefilters)
              if not mktimelist:
                  mktimelist.append('none')
              evtclasslist_keys = copy.copy(comp.evtclasses)
              if not evtclasslist_keys:
                  evtclasslist_vals = [NAME_FACTORY.base_dict['evclass']]
              else:
                  evtclasslist_vals = copy.copy(evtclasslist_keys)
  
              for mktimekey in mktimelist:
                  for evtclassval in evtclasslist_vals:
                      fullkey = comp.make_key(
                          '%s_%s_{ebin_name}_%s_{evtype_name}' %
                          (evtclassval, zcut, mktimekey))
                      name_keys = dict(zcut=zcut,
                                       ebin=comp.ebin_name,
                                       psftype=comp.evtype_name,
                                       coordsys=comp.coordsys,
                                       irf_ver=NAME_FACTORY.irf_ver(),
                                       mktime=mktimekey,
                                       evclass=evtclassval,
                                       fullpath=True)
  
                      outfile = NAME_FACTORY.bexpcube(**name_keys)
                      cmap = NAME_FACTORY.ccube(**name_keys)
                      infile = NAME_FACTORY.ltcube(**name_keys)
                      logfile = make_nfs_path(outfile.replace('.fits', '.log'))
                      job_configs[fullkey] = dict(cmap=cmap,
                                                  infile=infile,
                                                  outfile=outfile,
                                                  irfs=NAME_FACTORY.irfs(**name_keys),
                                                  hpx_order=min(
                                                      comp.hpx_order, args['hpx_order_max']),
                                                  evtype=comp.evtype,
                                                  logfile=logfile)
  
          return job_configs
docs: Hook to build job configurations