Functions | |
def | unpackRelease |
Variables | |
string | __author__ = "Mauro Verzetti (mauro.verzetti@cern.ch)" |
string | __doc__ = """Script to update the web-page to show newly updated results. First upload the TauID directory in the proper location in $PastResults""" |
tuple | cfg_file = glob.glob(tauid_dir+'*/Config/showtags.txt') |
tuple | config = open(cfg_file) |
list | custom_made = [d for d in webDir_subdirs if not d in official_releases and not d in special_releases] |
string | custom_made_links = '' |
list | data_html = [] |
tuple | datasets = filter(lambda x: os.path.isdir(tauid_dir+x) and not x == 'Reference', os.listdir(tauid_dir)) |
string | dir_link = 'TauID/' |
tuple | dname = dataset.split('_') |
tuple | main_web_page = templates.main_page_template%(official_releases_links, special_releases_links, custom_made_links) |
tuple | main_web_page_html = open(main_web_page_path,'w') |
string | main_web_page_path = webDir+'index.html' |
tuple | official_releases = sorted( filter( lambda x: re.findall(r'^CMSSW_[0-9]+_[0-9]+_[0-9]+(?:_pre[0-9]+)?$',x), webDir_subdirs), key=unpackRelease) |
string | official_releases_links = '' |
tuple | parser = OptionParser(description=__doc__) |
list | pics = [path.split(rel+'/')[1] for path in glob.glob(tauid_dir+dataset+'/*.png')] |
tuple | ref_file = (glob.glob(tauid_dir+'Reference/*'+dname+'.root')[0]) |
string | reldir = webDir+rel+'/' |
tuple | release_html_page = templates.usual_validation_template.substitute(THIS_RELEASE=rel,CONFIG=config,DATASETS=''.join(data_html) ) |
tuple | release_page_html = open(release_web_page_path,'w') |
string | release_web_page_path = reldir+'index.html' |
tuple | rootf = (roots) |
tuple | roots = glob.glob(tauid_dir+dataset+'/*.root') |
string | source = 'TauID/' |
tuple | special_releases = sorted( filter( lambda x: re.findall(r'^CMSSW_[0-9]+_[0-9]+_[0-9]+',x) and not x in official_releases, webDir_subdirs), key=unpackRelease) |
string | special_releases_links = '' |
string | tauid_dir = webDir+rel+'/TauID/' |
tuple | webDir_subdirs = filter( lambda x: os.path.isdir(webDir+x), os.listdir( webDir ) ) |
def RefreshWebPage.unpackRelease | ( | relName | ) |
Definition at line 18 of file RefreshWebPage.py.
string RefreshWebPage.__author__ = "Mauro Verzetti (mauro.verzetti@cern.ch)" |
Definition at line 11 of file RefreshWebPage.py.
string RefreshWebPage.__doc__ = """Script to update the web-page to show newly updated results. First upload the TauID directory in the proper location in $PastResults""" |
Definition at line 12 of file RefreshWebPage.py.
tuple RefreshWebPage.cfg_file = glob.glob(tauid_dir+'*/Config/showtags.txt') |
Definition at line 51 of file RefreshWebPage.py.
tuple RefreshWebPage.config = open(cfg_file) |
Definition at line 52 of file RefreshWebPage.py.
list RefreshWebPage.custom_made = [d for d in webDir_subdirs if not d in official_releases and not d in special_releases] |
Definition at line 35 of file RefreshWebPage.py.
string RefreshWebPage.custom_made_links = '' |
Definition at line 40 of file RefreshWebPage.py.
list RefreshWebPage.data_html = [] |
Definition at line 53 of file RefreshWebPage.py.
tuple RefreshWebPage.datasets = filter(lambda x: os.path.isdir(tauid_dir+x) and not x == 'Reference', os.listdir(tauid_dir)) |
Definition at line 50 of file RefreshWebPage.py.
string RefreshWebPage.dir_link = 'TauID/' |
Definition at line 63 of file RefreshWebPage.py.
tuple RefreshWebPage.dname = dataset.split('_') |
Definition at line 55 of file RefreshWebPage.py.
Referenced by SiPixelDataQuality.computeGlobalQualityFlag(), SiStripActionExecutor.createSummary(), SiStripActionExecutor.createSummaryOffline(), SiStripQualityChecker.fillDetectorStatus(), SiPixelActionExecutor.fillEfficiency(), SiPixelDataQuality.fillGlobalQualityPlot(), SiPixelActionExecutor.fillOccupancy(), SiStripQualityChecker.fillSubDetStatus(), SiPixelInformationExtractor.findNoisyPixels(), SiStripBadModuleFedErrService.getProcessedEvents(), SiStripSummaryCreator.getSummaryME(), SiStripInformationExtractor.printAlarmList(), SiStripActionExecutor.printFaultyModuleList(), SiStripInformationExtractor.printNonGeomHistoList(), printSOF(), SiStripInformationExtractor.printSummaryHistoList(), SiStripBadComponentsDQMService.readBadComponents(), SiStripBadModuleFedErrService.readBadComponentsFromFed(), and SiStripTrackerMapCreator.setTkMapFromHistogram().
tuple RefreshWebPage.main_web_page = templates.main_page_template%(official_releases_links, special_releases_links, custom_made_links) |
Definition at line 41 of file RefreshWebPage.py.
tuple RefreshWebPage.main_web_page_html = open(main_web_page_path,'w') |
Definition at line 43 of file RefreshWebPage.py.
string RefreshWebPage.main_web_page_path = webDir+'index.html' |
Definition at line 42 of file RefreshWebPage.py.
tuple RefreshWebPage.official_releases = sorted( filter( lambda x: re.findall(r'^CMSSW_[0-9]+_[0-9]+_[0-9]+(?:_pre[0-9]+)?$',x), webDir_subdirs), key=unpackRelease) |
Definition at line 33 of file RefreshWebPage.py.
string RefreshWebPage.official_releases_links = '' |
Definition at line 38 of file RefreshWebPage.py.
tuple RefreshWebPage.parser = OptionParser(description=__doc__) |
Definition at line 14 of file RefreshWebPage.py.
list RefreshWebPage.pics = [path.split(rel+'/')[1] for path in glob.glob(tauid_dir+dataset+'/*.png')] |
Definition at line 58 of file RefreshWebPage.py.
Definition at line 61 of file RefreshWebPage.py.
string RefreshWebPage.reldir = webDir+rel+'/' |
Definition at line 49 of file RefreshWebPage.py.
tuple RefreshWebPage.release_html_page = templates.usual_validation_template.substitute(THIS_RELEASE=rel,CONFIG=config,DATASETS=''.join(data_html) ) |
Definition at line 65 of file RefreshWebPage.py.
tuple RefreshWebPage.release_page_html = open(release_web_page_path,'w') |
Definition at line 67 of file RefreshWebPage.py.
string RefreshWebPage.release_web_page_path = reldir+'index.html' |
Definition at line 66 of file RefreshWebPage.py.
tuple RefreshWebPage.rootf = (roots) |
Definition at line 60 of file RefreshWebPage.py.
tuple RefreshWebPage.roots = glob.glob(tauid_dir+dataset+'/*.root') |
Definition at line 59 of file RefreshWebPage.py.
string RefreshWebPage.source = 'TauID/' |
Definition at line 62 of file RefreshWebPage.py.
tuple RefreshWebPage.special_releases = sorted( filter( lambda x: re.findall(r'^CMSSW_[0-9]+_[0-9]+_[0-9]+',x) and not x in official_releases, webDir_subdirs), key=unpackRelease) |
Definition at line 34 of file RefreshWebPage.py.
string RefreshWebPage.special_releases_links = '' |
Definition at line 39 of file RefreshWebPage.py.
string RefreshWebPage.tauid_dir = webDir+rel+'/TauID/' |
Definition at line 48 of file RefreshWebPage.py.
tuple RefreshWebPage.webDir_subdirs = filter( lambda x: os.path.isdir(webDir+x), os.listdir( webDir ) ) |
Definition at line 32 of file RefreshWebPage.py.