Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Functions
cfgName2py Namespace Reference
Functions
def
cfgName2py
Function Documentation
def
cfgName2py.cfgName2py
(
cfgName
)
Definition at line
4
of file
cfgName2py.py
.
References
python.rootplot.root2matplotlib.replace()
.
4
5
def
cfgName2py
(cfgName):
6
result = cfgName.replace(
"/data/"
,
"/python/"
).
replace
(
"."
,
"_"
)
7
# do we want to automatically move all test configs to python/test?
8
# just do cffs and cfis for now
9
if
result.endswith(
'.cff'
)
or
result.endswith(
'.cfi'
):
10
result = result.replace(
"/test/"
,
"/python/test/"
)
11
return
result +
'.py'
12
# for shell-scripters who want a value printed
cfgName2py.cfgName2py
def cfgName2py
Definition:
cfgName2py.py:4
python.rootplot.root2matplotlib.replace
def replace
Definition:
root2matplotlib.py:443
Generated for CMSSW Reference Manual by
1.8.5