![]() |
ATLAS Offline Software
|
Classes | |
| class | JobRunnerTransform |
Functions | |
| readJSON (fname) | |
| writeJSON (fname, data) | |
| getDataSetName (name, sep='#') | |
| getFileName (name, sep='#') | |
| parseQualifiedFileNames (inputList, sep='#') | |
| getGuid (name) | |
| getFileDescription (fileName, dsname='') | |
Variables | |
| str | __author__ = 'Juerg Beringer' |
| str | __version__ = 'TrfUtils.py atlas/athena' |
Utilities for writing job transforms for use at T0 and at the CAF Task Management System.
| python.TrfUtils.getDataSetName | ( | name, | |
| sep = '#' ) |
Extract dataset name from a qualified file name.
Definition at line 33 of file TrfUtils.py.
| 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.
| python.TrfUtils.getFileName | ( | name, | |
| sep = '#' ) |
Extract file name from a qualified file name.
Definition at line 45 of file TrfUtils.py.
| 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.
| 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.
| python.TrfUtils.readJSON | ( | fname | ) |
Read a JSON file and return its data.
Definition at line 19 of file TrfUtils.py.
| 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.