Classes | |
class | FileObj |
Functions | |
def | appendLinkToList |
def | backupOriginal |
def | createHtmlPages |
def | createMenu |
def | extractLinks |
def | getFooter |
def | getHeader |
def | getRunNumberFromFileName |
def | main |
Variables | |
dictionary | INDEX = {} |
list | LINKS = [] |
list | PREFIX = sys.argv[3] |
list | PROJECT_LOCATION = sys.argv[1] |
list | sourceFile = PROJECT_LOCATION+sys.argv[2] |
Created on Nov 9, 2010 Updated on Oct 19, 2011 @author: Mantas Stankevicius
def splitter.appendLinkToList | ( | line, | |
letter | |||
) |
def splitter.backupOriginal | ( | ) |
Definition at line 172 of file splitter.py.
References createMenu().
def splitter.createHtmlPages | ( | ) |
Definition at line 135 of file splitter.py.
References createMenu(), getFooter(), and getHeader().
def splitter.createMenu | ( | letter | ) |
def splitter.extractLinks | ( | ) |
Extracts links from source file from <div class = 'contents'> </div>
Definition at line 67 of file splitter.py.
References appendLinkToList(), and pileupCalc.upper.
def splitter.getFooter | ( | ) |
Reading source file from end until </table>. After </table> begins list of links (reading from end)
Definition at line 43 of file splitter.py.
References join().
Referenced by createHtmlPages().
def splitter.getHeader | ( | ) |
Reading source file until <table>. After <table> begins list of links
Definition at line 20 of file splitter.py.
References join().
Referenced by createHtmlPages().
def splitter.getRunNumberFromFileName | ( | fileName | ) |
def splitter.main | ( | ) |
Definition at line 19 of file splitter.py.
References CommonMethods.cp(), cmsRelvalreport.exit, getRunNumberFromFileName(), python.rootplot.utilities.ls(), and split.
dictionary splitter.INDEX = {} |
Definition at line 11 of file splitter.py.
list splitter.LINKS = [] |
Definition at line 14 of file splitter.py.
Referenced by RPCReadOutMappingWithFastSearch.init(), and RPCReadOutMapping.rawDataFrame().
list splitter.PREFIX = sys.argv[3] |
Definition at line 197 of file splitter.py.
list splitter.PROJECT_LOCATION = sys.argv[1] |
Definition at line 193 of file splitter.py.
list splitter.sourceFile = PROJECT_LOCATION+sys.argv[2] |
Definition at line 195 of file splitter.py.