Variables
modifyFHiCL Namespace Reference

Variables

 parser = OptionParser()
 
 help
 
 action
 
 type
 
 str
 
 dest
 
 default
 
 options
 
 args
 
 base_fcl
 
 output
 
bool found_fcl = False
 Get the base FHiCL. More...
 
 paths = os.environ["FHICL_FILE_PATH"].split(":")
 
 base_fcl_tokens = options.base_fcl.split("FHICL_FILE_PATH/")
 
bool found = False
 
 to_replace = fcl_config.to_replace["all"]
 Setup what to replace. More...
 
 base_file = open(found_fcl, "r").readlines()
 Open the base file. More...
 
list to_write = []
 
 line = line.replace(key, to_replace[key])
 
 out_file = open(options.output, "w")
 Append EOF lines. More...
 

Variable Documentation

modifyFHiCL.action

Definition at line 9 of file modifyFHiCL.py.

modifyFHiCL.args

Definition at line 15 of file modifyFHiCL.py.

modifyFHiCL.base_fcl

Definition at line 38 of file modifyFHiCL.py.

modifyFHiCL.base_fcl_tokens = options.base_fcl.split("FHICL_FILE_PATH/")

Definition at line 53 of file modifyFHiCL.py.

modifyFHiCL.base_file = open(found_fcl, "r").readlines()

Open the base file.

Definition at line 88 of file modifyFHiCL.py.

modifyFHiCL.default

Definition at line 9 of file modifyFHiCL.py.

modifyFHiCL.dest

Definition at line 9 of file modifyFHiCL.py.

bool modifyFHiCL.found = False
string modifyFHiCL.found_fcl = False

Get the base FHiCL.

Definition at line 41 of file modifyFHiCL.py.

modifyFHiCL.help

Definition at line 9 of file modifyFHiCL.py.

modifyFHiCL.line = line.replace(key, to_replace[key])

Definition at line 95 of file modifyFHiCL.py.

modifyFHiCL.options

Definition at line 15 of file modifyFHiCL.py.

modifyFHiCL.out_file = open(options.output, "w")
modifyFHiCL.output

Definition at line 39 of file modifyFHiCL.py.

modifyFHiCL.parser = OptionParser()

Definition at line 8 of file modifyFHiCL.py.

modifyFHiCL.paths = os.environ["FHICL_FILE_PATH"].split(":")

Definition at line 51 of file modifyFHiCL.py.

modifyFHiCL.str

Definition at line 9 of file modifyFHiCL.py.

modifyFHiCL.to_replace = fcl_config.to_replace["all"]

Setup what to replace.

Definition at line 80 of file modifyFHiCL.py.

list modifyFHiCL.to_write = []

Definition at line 89 of file modifyFHiCL.py.

modifyFHiCL.type

Definition at line 9 of file modifyFHiCL.py.