HPS-MC
hpsmc.job Namespace Reference

Classes

class  JobConfig
 Wrapper for accessing config information from parser. More...
 
class  JobStore
 Simple JSON based store of job data. More...
 
class  JobScriptDatabase
 Database of job scripts. More...
 
class  Job
 Primary class to run HPS jobs from a Python script. More...
 

Functions

def print_usage ()
 

Variables

 logger = logging.getLogger('hpsmc.job')
 Initialize logger. More...
 
dictionary cmds
 
 cmd = sys.argv[1]
 
 args = sys.argv[2:]
 
 job = Job(args)
 
 script = sys.argv[2]
 
 scriptdb = JobScriptDatabase()
 
 component_name = sys.argv[2]
 

Function Documentation

◆ print_usage()

def hpsmc.job.print_usage ( )

Definition at line 815 of file job.py.

Variable Documentation

◆ args

args = sys.argv[2:]

Definition at line 828 of file job.py.

◆ cmd

cmd = sys.argv[1]

Definition at line 824 of file job.py.

◆ cmds

dictionary cmds
Initial value:
1 = {
2  'run': 'Run a job script',
3  'script': 'Show list of available job scripts (provide script name for detailed info)',
4  'component': 'Show list of available components (provide component name for detailed info)'}

Definition at line 809 of file job.py.

◆ component_name

component_name = sys.argv[2]

Definition at line 846 of file job.py.

◆ job

job = Job(args)

Definition at line 830 of file job.py.

◆ logger

logger = logging.getLogger('hpsmc.job')

Initialize logger.

Definition at line 26 of file job.py.

◆ script

script = sys.argv[2]

Definition at line 835 of file job.py.

◆ scriptdb

scriptdb = JobScriptDatabase()

Definition at line 839 of file job.py.