![]() |
ATLAS Offline Software
|
Class to contain metadata for file types. More...
Public Member Functions | |
| __init__ (self, fileArg) | |
| Constructor. | |
| python (self, fast=False, type='full') | |
| Get a python representation of file report @detail Returns the python representation of this file report which is a list of dictionaries (a la Tier 0). | |
| singleFilePython (self, filename, fast=False, type='full', basename=True) | |
| Return unique metadata for a single file in an argFile class. | |
| classicEltreeList (self, fast=False) | |
| Return an element tree representation of the classic file report @detail Returns a list of eltree entities giving the classic metadata of a files for this argument. | |
| classicSingleEltree (self, filename, fast=False) | |
| Return file metadata in 'classic' POOLFILECATALOG format. | |
| classicPython (self, fast=False) | |
| Return file metadata in classic Tier 0 python style. | |
| classicSinglePython (self, filename, fast=False) | |
| Return single file metadata in classic Tier 0 python style. | |
Protected Attributes | |
| _fileArg = fileArg | |
Static Protected Attributes | |
| dict | _internalToClassicMap |
| dict | _internalToGpickleMap |
| dict | _internalToGpickleMoreMap |
Class to contain metadata for file types.
Definition at line 393 of file trfReports.py.
| python.trfReports.trfFileReport.__init__ | ( | self, | |
| fileArg ) |
Constructor.
c fileArg argFile object which this report represents
Definition at line 416 of file trfReports.py.
| python.trfReports.trfFileReport.classicEltreeList | ( | self, | |
| fast = False ) |
Return an element tree representation of the classic file report @detail Returns a list of eltree entities giving the classic metadata of a files for this argument.
This is a list so that it can be attached as a series of nodes into the final PFC description of the job
Definition at line 501 of file trfReports.py.
| python.trfReports.trfFileReport.classicPython | ( | self, | |
| fast = False ) |
Return file metadata in classic Tier 0 python style.
| fast | Prevent external metadata calls if true |
Definition at line 543 of file trfReports.py.
| python.trfReports.trfFileReport.classicSingleEltree | ( | self, | |
| filename, | |||
| fast = False ) |
Return file metadata in 'classic' POOLFILECATALOG format.
| filename | Filename to generate Element object for |
| fast | Prevent external metadata calls if true |
Definition at line 512 of file trfReports.py.
| python.trfReports.trfFileReport.classicSinglePython | ( | self, | |
| filename, | |||
| fast = False ) |
Return single file metadata in classic Tier 0 python style.
| fast | Prevent external metadata calls if true |
c filename Filename to generate Element object for
Definition at line 552 of file trfReports.py.
| python.trfReports.trfFileReport.python | ( | self, | |
| fast = False, | |||
| type = 'full' ) |
Get a python representation of file report @detail Returns the python representation of this file report which is a list of dictionaries (a la Tier 0).
| type | Report type (e.g., None = normal or fast) |
| base | How extensive to make the report: name or full |
Definition at line 424 of file trfReports.py.
| python.trfReports.trfFileReport.singleFilePython | ( | self, | |
| filename, | |||
| fast = False, | |||
| type = 'full', | |||
| basename = True ) |
Return unique metadata for a single file in an argFile class.
| filename | File for which report should be generated |
| type | Type of report to produce |
| fast | Generate a fast report, i.e., no external matadata calls |
Definition at line 475 of file trfReports.py.
|
protected |
Definition at line 417 of file trfReports.py.
|
staticprotected |
Definition at line 396 of file trfReports.py.
|
staticprotected |
Definition at line 403 of file trfReports.py.
|
staticprotected |
Definition at line 409 of file trfReports.py.