HPS-MC
 
Loading...
Searching...
No Matches
job_template.py File Reference

Go to the source code of this file.

Classes

class  JobData
 Very simple key-value object for storing data for each job. More...
 
class  MaxJobsException
 Exception if max jobs are reached. More...
 
class  JobTemplate
 Template engine for transforming input job template into JSON job store. More...
 

Namespaces

namespace  hpsmc
 
namespace  hpsmc.job_template
 
namespace  job_template
 Expand a Jinja job template into a full list of jobs in JSON format.
 

Functions

 basename (path)
 Filter to return a file base name stripped of dir and extension.
 
 extension (path)
 Filter to get file extension from string.
 
 dirname (path)
 Filter to get dir name from string.
 
 pad (num, npad=4)
 Filter to pad a number.
 
 uuid ()
 Function to get a uuid within a template.
 
 lcio_dumpevent_runnumber (path)
 Filter to get a run number by inspecting first event in slcio file.
 
 filenum (path)
 Filter to get the trailing number of a file.
 

Variables

 job_tmpl = JobTemplate()