PackageSplitter class is used for splitting package web page (pages.html) to increase usability. More...
Public Member Functions | |
def | __init__ |
Constructor method. More... | |
def | AddTab2Page |
def | CreatePackagePage |
def | CreateSubPage |
def | GenerateTab |
def | PrepareData |
def | ReadFile |
def | WriteFile |
Public Attributes | |
data | |
packages | |
packageSource | |
path | |
prefix | |
tr | |
Private Member Functions | |
def | __GetFileName |
def | __GetPackageName |
PackageSplitter class is used for splitting package web page (pages.html) to increase usability.
Definition at line 5 of file PackageSplitter.py.
def PackageSplitter.PackageSplitter.__init__ | ( | self, | |
path, | |||
prefix = 'package_' |
|||
) |
Constructor method.
path | is the reference manual directory path and it is used as destination and source. |
prefix | is used for file naming as prefix. |
Definition at line 9 of file PackageSplitter.py.
|
private |
Definition at line 42 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.prefix, ConfigFiles.ConfigFiles.prefix, cond::PfnEditor.prefix, and MuonGeometrySanityCheck.prefix.
Referenced by PackageSplitter.PackageSplitter.CreateSubPage(), and PackageSplitter.PackageSplitter.GenerateTab().
|
private |
Definition at line 36 of file PackageSplitter.py.
def PackageSplitter.PackageSplitter.AddTab2Page | ( | self, | |
packageLink | |||
) |
Definition at line 115 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.GenerateTab(), PackageSplitter.PackageSplitter.ReadFile(), ConfigFiles.ConfigFiles.ReadFile(), MainPageGenerator.MainPageGenerator.ReadFile(), python.rootplot.root2matplotlib.replace(), PackageSplitter.PackageSplitter.WriteFile(), ConfigFiles.ConfigFiles.WriteFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
Referenced by PackageSplitter.PackageSplitter.CreatePackagePage().
def PackageSplitter.PackageSplitter.CreatePackagePage | ( | self, | |
outputFile | |||
) |
Definition at line 93 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.AddTab2Page(), PackageSplitter.PackageSplitter.CreateSubPage(), PackageSplitter.PackageSplitter.data, python.multivaluedict.MyUserList.data, CombinedTauTagCalibration.data, ConfigFiles.ConfigFiles.data, CombinedSVCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CondIter< DataT >.data, QGLikelihoodObject.data, MainPageGenerator.MainPageGenerator.data, LASModuleProfile.data, comparisonPlots.data, cond::IOVProxyData.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, EcalShowerContainmentCorrections::Coefficients.data, python.DBCopy.DBCopy.data, conddblib.Payload.data, PackageSplitter.PackageSplitter.GenerateTab(), PackageSplitter.PackageSplitter.packageSource, MainPageGenerator.MainPageGenerator.packageSource, ConfigFiles.ConfigFiles.PrepareData(), PackageSplitter.PackageSplitter.PrepareData(), MainPageGenerator.MainPageGenerator.PrepareData(), python.rootplot.root2matplotlib.replace(), PackageSplitter.PackageSplitter.WriteFile(), ConfigFiles.ConfigFiles.WriteFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
def PackageSplitter.PackageSplitter.CreateSubPage | ( | self, | |
packageName | |||
) |
Definition at line 61 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.__GetFileName(), PackageSplitter.PackageSplitter.data, python.multivaluedict.MyUserList.data, CombinedTauTagCalibration.data, ConfigFiles.ConfigFiles.data, CombinedSVCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CondIter< DataT >.data, QGLikelihoodObject.data, MainPageGenerator.MainPageGenerator.data, LASModuleProfile.data, comparisonPlots.data, cond::IOVProxyData.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, EcalShowerContainmentCorrections::Coefficients.data, python.DBCopy.DBCopy.data, conddblib.Payload.data, PackageSplitter.PackageSplitter.GenerateTab(), relativeConstraints.keys, PackageSplitter.PackageSplitter.packageSource, MainPageGenerator.MainPageGenerator.packageSource, ConfigFiles.ConfigFiles.PrepareData(), PackageSplitter.PackageSplitter.PrepareData(), MainPageGenerator.MainPageGenerator.PrepareData(), python.rootplot.root2matplotlib.replace(), PackageSplitter.PackageSplitter.WriteFile(), ConfigFiles.ConfigFiles.WriteFile(), and MainPageGenerator.MainPageGenerator.WriteFile().
Referenced by PackageSplitter.PackageSplitter.CreatePackagePage().
def PackageSplitter.PackageSplitter.GenerateTab | ( | self, | |
current = None , |
|||
linkPrefix = "" |
|||
) |
Definition at line 45 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.__GetFileName().
Referenced by PackageSplitter.PackageSplitter.AddTab2Page(), PackageSplitter.PackageSplitter.CreatePackagePage(), and PackageSplitter.PackageSplitter.CreateSubPage().
def PackageSplitter.PackageSplitter.PrepareData | ( | self | ) |
Definition at line 126 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.packageSource, and MainPageGenerator.MainPageGenerator.packageSource.
Referenced by PackageSplitter.PackageSplitter.CreatePackagePage(), and PackageSplitter.PackageSplitter.CreateSubPage().
This method reads file directly or from path.
Definition at line 17 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.path, ConfigFiles.ConfigFiles.path, MainPageGenerator.MainPageGenerator.path, and ConfigBuilder.ConfigBuilder.path.
Referenced by PackageSplitter.PackageSplitter.AddTab2Page().
def PackageSplitter.PackageSplitter.WriteFile | ( | self, | |
fileName, | |||
data | |||
) |
This method writes data
Definition at line 29 of file PackageSplitter.py.
References PackageSplitter.PackageSplitter.path, ConfigFiles.ConfigFiles.path, MainPageGenerator.MainPageGenerator.path, and ConfigBuilder.ConfigBuilder.path.
Referenced by PackageSplitter.PackageSplitter.AddTab2Page(), PackageSplitter.PackageSplitter.CreatePackagePage(), and PackageSplitter.PackageSplitter.CreateSubPage().
PackageSplitter.PackageSplitter.data |
Definition at line 15 of file PackageSplitter.py.
Referenced by cuy.FindIssue.__init__(), PackageSplitter.PackageSplitter.CreatePackagePage(), PackageSplitter.PackageSplitter.CreateSubPage(), confdb.HLTProcess.customize(), confdb.HLTProcess.dump(), confdb.HLTProcess.getRawConfigurationFromDB(), and confdb.HLTProcess.releaseSpecificCustomize().
PackageSplitter.PackageSplitter.packages |
Definition at line 14 of file PackageSplitter.py.
PackageSplitter.PackageSplitter.packageSource |
Definition at line 12 of file PackageSplitter.py.
Referenced by PackageSplitter.PackageSplitter.CreatePackagePage(), PackageSplitter.PackageSplitter.CreateSubPage(), and PackageSplitter.PackageSplitter.PrepareData().
PackageSplitter.PackageSplitter.path |
Definition at line 10 of file PackageSplitter.py.
Referenced by python.rootplot.rootmath.Target.__repr__(), fff_monitoring.DQMMonitor.process_dir(), PackageSplitter.PackageSplitter.ReadFile(), and PackageSplitter.PackageSplitter.WriteFile().
PackageSplitter.PackageSplitter.prefix |
Definition at line 11 of file PackageSplitter.py.
Referenced by PackageSplitter.PackageSplitter.__GetFileName(), Splitter.Splitter.Backup(), Splitter.Splitter.CreatePages(), and Splitter.Splitter.CreateTab().
PackageSplitter.PackageSplitter.tr |
Definition at line 129 of file PackageSplitter.py.