ATLAS Offline Software
Classes | Functions | Variables
MyPlots Namespace Reference

Classes

class  MyPlots
 

Functions

def error (msg)
 

Variables

string __author__ = 'Juerg Beringer'
 
string __version__ = 'MyPlots.py atlas/athena'
 
string cmdoutput
 
string image
 
 page = MyPlots()
 

Function Documentation

◆ error()

def MyPlots.error (   msg)
Utility to render an error message.

Definition at line 52 of file MyPlots.py.

52 def error(msg):
53  """Utility to render an error message."""
54  return htmlText(msg,'class="errormsg"',escapeText=True)
55 
56 

Variable Documentation

◆ __author__

string MyPlots.__author__ = 'Juerg Beringer'
private

Definition at line 9 of file MyPlots.py.

◆ __version__

string MyPlots.__version__ = 'MyPlots.py atlas/athena'
private

Definition at line 10 of file MyPlots.py.

◆ cmdoutput

string MyPlots.cmdoutput
Initial value:
1 = """\
2 <div class="boldtext">
3 Command:
4 </div>
5 <pre class="text">
6 %s
7 </pre>
8 <div class="boldtext">
9 Output (status %s):
10 </div>
11 <div class="text">
12 <pre>
13 %s
14 </pre>
15 </div>
16 """

Definition at line 26 of file MyPlots.py.

◆ image

string MyPlots.image
Initial value:
1 = """\
2 <p class="text">
3 <a href="%s">Link to generated plot</a>
4 (<a href="%s">eps</a>,
5 <a href="%s">pdf</a>) (valid for 3 days)
6 <p>
7 <img id="plot" src="%s" />
8 """

Definition at line 43 of file MyPlots.py.

◆ page

MyPlots.page = MyPlots()

Definition at line 234 of file MyPlots.py.

WebPage.htmlText
def htmlText(text, attr='', escapeText=False)
Definition: WebPage.py:58
MyPlots.error
def error(msg)
Definition: MyPlots.py:52