ATLAS Offline Software
|
Class to contain metadata for file types. More...
Public Member Functions | |
def | __init__ (self, fileArg) |
Constructor. More... | |
def | 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) More... | |
def | singleFilePython (self, filename, fast=False, type='full', basename=True) |
Return unique metadata for a single file in an argFile class. More... | |
def | 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. More... | |
def | classicSingleEltree (self, filename, fast=False) |
Return file metadata in 'classic' POOLFILECATALOG format. More... | |
def | classicPython (self, fast=False) |
Return file metadata in classic Tier 0 python style. More... | |
def | classicSinglePython (self, filename, fast=False) |
Return single file metadata in classic Tier 0 python style. More... | |
Private Attributes | |
_fileArg | |
Static Private Attributes | |
_internalToClassicMap | |
_internalToGpickleMap | |
_internalToGpickleMoreMap | |
Class to contain metadata for file types.
Definition at line 393 of file trfReports.py.
def python.trfReports.trfFileReport.__init__ | ( | self, | |
fileArg | |||
) |
def 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.
def 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.
def 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.
def 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 |
Definition at line 552 of file trfReports.py.
def 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.
def 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.
|
private |
Definition at line 417 of file trfReports.py.
|
staticprivate |
Definition at line 396 of file trfReports.py.
|
staticprivate |
Definition at line 403 of file trfReports.py.
|
staticprivate |
Definition at line 409 of file trfReports.py.