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