Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
Functions
edmUtils Namespace Reference
Functions
def
edmFileLs
(fname)
Function Documentation
def
edmUtils.edmFileLs
(
fname
)
Definition at line
3
of file
edmUtils.py
.
Referenced by
cmsswPreprocessor.CmsswPreprocessor.run()
.
3
def
edmFileLs
(fname):
4
# if it's not a cms LFN and it does not have a protocol, put file: for it
5
if
not
re.match(
r"(/store|\w+:).*"
,fname): fname =
"file:"
+fname
6
out = subprocess.check_output([
'edmFileUtil'
,
'--ls'
,
'-j'
,fname])
7
jdata = json.loads(out)
8
return
jdata[0]
9
edmUtils.edmFileLs
def edmFileLs(fname)
Definition:
edmUtils.py:3
Generated for CMSSW Reference Manual by
1.8.11