Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /FWCore/Utilities/doc/cfgViewerREADME is written in an unsupported language. File is not indexed.

0001 Usage:
0002   python cfg-viewer.py <config-file/directory>
0003 
0004 
0005 Options:
0006   -q : Quiet, prints minimal messages to stdout.
0007   -s : Stops the server from starting. By default it starts after everything has been evaluated.
0008   -r : Search provided directories recursively for .py files.
0009 
0010 
0011 Examples:
0012 To recursively search the current directory looking for configuration files:
0013   python cfg-viewer.py "." -r
0014 Compute for three configuration files:
0015   python cfg-viewer.py cfgFile1.py confgFile2.py configFile3.py
0016 
0017 
0018 Default:
0019 The html file will be named index.html, the server python file will be named cfgServer.py both will be stored in the dir where the script is ran from. All other files will be stored under <config-name>-cfghtml/ directory in the same directory.
0020 
0021 
0022 Problems with browsers
0023 The python script automatically runs a simple local server called cfgServer.py. If you do not need editing capabilities then some browsers do not require this local server. For other browsers (i.e. Chrome), the local server is always needed.
0024 The server file will be in the same place your ran the python script from. It will be entitled cfgServer.py. To run type "python cfgServer.py" in a terminal. It will then provide you with a link where you can view the files.
0025 
0026 Some problems may persist especially with browsers other than Chrome, Firefox, Internet Explorer and Safari.
0027 Please get in touch with the browser name and version if you have any troubles with a browser. 
0028 
0029 
0030 Editing
0031 Note: Editing for SequenceTypes(Paths,EndPaths etc.) has been temporarily disabled.
0032 In order to edit data on the html a local server is needed. Please follow the instructions in the "Problems with browsers" section to start a local server.
0033 When saving a python file will be provided with the changes. 
0034 
0035 
0036 Contact
0037 Some bugs still occur with editing and saving, and I am aware of problems with some browsers. If you want to report anything please contact me here:
0038 susie.murphy@cern.ch