Classes | |
class | JobData |
Very simple key-value object for storing data for each job. More... | |
class | JobTemplate |
Template engine for transforming input job template into JSON job store. More... | |
class | MaxJobsException |
Exception if max jobs are reached. More... | |
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() | |
basename | ( | path | ) |
Filter to return a file base name stripped of dir and extension.
Definition at line 18 of file job_template.py.
dirname | ( | path | ) |
Filter to get dir name from string.
Definition at line 28 of file job_template.py.
extension | ( | path | ) |
Filter to get file extension from string.
Definition at line 23 of file job_template.py.
filenum | ( | path | ) |
Filter to get the trailing number of a file.
This will extract the number between the last underscore and the extension. For example 'file_name_is_number.root' will return 'number' if 'number' is actually a integer.
Definition at line 59 of file job_template.py.
lcio_dumpevent_runnumber | ( | path | ) |
Filter to get a run number by inspecting first event in slcio file.
Definition at line 43 of file job_template.py.
pad | ( | num, | |
npad = 4 |
|||
) |
Filter to pad a number.
Definition at line 33 of file job_template.py.
uuid | ( | ) |
Function to get a uuid within a template.
Definition at line 38 of file job_template.py.
job_tmpl = JobTemplate() |
Definition at line 312 of file job_template.py.