![]() |
|
|||
File indexing completed on 2024-04-06 12:23:28
0001 import ROOT, subprocess, json, re 0002 0003 def edmFileLs(fname): 0004 # if it's not a cms LFN and it does not have a protocol, put file: for it 0005 if not re.match(r"(/store|\w+:).*",fname): fname = "file:"+fname 0006 out = subprocess.check_output(['edmFileUtil','--ls','-j',fname]) 0007 jdata = json.loads(out) 0008 return jdata[0]
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |