ATLAS Offline Software
Loading...
Searching...
No Matches
python.showOutput Namespace Reference

Functions

 getOutputDictFromAMI (tag)

Variables

 tag = sys.argv[1]
 dsname = sys.argv[2]
 outDict = getOutputDictFromAMI(tag)

Function Documentation

◆ getOutputDictFromAMI()

python.showOutput.getOutputDictFromAMI ( tag)

Definition at line 8 of file showOutput.py.

8def getOutputDictFromAMI(tag):
9 try:
10 from pyAMI.pyAMI import AMI
11 amires = AMI().execute(["ListConfigurationTag","-configTag=%s" % tag])
12 d = amires.getDict()['rowset_%s'%tag][tag]
13 outDict = eval(d.get('outputs','None'))
14 except Exception as e:
15 print ("Failed to get OutputDict from AMI")
16 print (e)
17 return None
18 return outDict
19
20

Variable Documentation

◆ dsname

python.showOutput.dsname = sys.argv[2]

Definition at line 28 of file showOutput.py.

◆ outDict

python.showOutput.outDict = getOutputDictFromAMI(tag)

Definition at line 31 of file showOutput.py.

◆ tag

python.showOutput.tag = sys.argv[1]

Definition at line 27 of file showOutput.py.