ATLAS Offline Software
|
Classes | |
class | JobRunnerTransform |
Functions | |
def | readJSON (fname) |
def | writeJSON (fname, data) |
def | getDataSetName (name, sep='#') |
def | getFileName (name, sep='#') |
def | parseQualifiedFileNames (inputList, sep='#') |
def | getGuid (name) |
def | getFileDescription (fileName, dsname='') |
Variables | |
string | __author__ = 'Juerg Beringer' |
string | __version__ = 'TrfUtils.py atlas/athena' |
def python.TrfUtils.getDataSetName | ( | name, | |
sep = '#' |
|||
) |
def python.TrfUtils.getFileDescription | ( | fileName, | |
dsname = '' |
|||
) |
Return a dictionary with the standard file description required by T0 conventions. If no explicit dataset name is provided in dsname, the dataset name is assumed to be prepended to the fileName (first part, before '#').
Definition at line 95 of file TrfUtils.py.
def python.TrfUtils.getFileName | ( | name, | |
sep = '#' |
|||
) |
def python.TrfUtils.getGuid | ( | name | ) |
Get GUID of file name from local Pool file catalog (from Armin Nairz, as used at Tier-0).
Definition at line 71 of file TrfUtils.py.
def python.TrfUtils.parseQualifiedFileNames | ( | inputList, | |
sep = '#' |
|||
) |
Parse a list of qualified file names (file names that are prepended with their dataset name). Returns a tuple consisting of the dataset name and the list of unqualified file names.
Definition at line 58 of file TrfUtils.py.
def python.TrfUtils.readJSON | ( | fname | ) |
Read a JSON file and return its data.
Definition at line 19 of file TrfUtils.py.
def python.TrfUtils.writeJSON | ( | fname, | |
data | |||
) |
Serialize data and write to fname.
Definition at line 27 of file TrfUtils.py.
|
private |
Definition at line 8 of file TrfUtils.py.
|
private |
Definition at line 9 of file TrfUtils.py.