Stores the information about a given tag.
More...
Stores the information about a given tag.
Definition at line 166 of file trfAMI.py.
◆ __init__()
def python.trfAMI.TagInfo.__init__ |
( |
|
self, |
|
|
|
tag, |
|
|
|
suppressNonJobOptions = True |
|
) |
| |
Definition at line 167 of file trfAMI.py.
167 def __init__(self, tag, suppressNonJobOptions = True):
172 self._suppressNonJobOptions = suppressNonJobOptions
◆ __str__()
def python.trfAMI.TagInfo.__str__ |
( |
|
self | ) |
|
Definition at line 199 of file trfAMI.py.
200 string =
'\nInformation about tag '+self._tag+
':\n'
203 string +=
'This is a ProdSys tag. Input and output file arguments are likely to be missing because they are often not part of the tag definition.\n'
205 string +=
'This is a T0 tag.\n'
207 string +=
'This tag consists of ' +
str(len(self.trfs)) +
' transform command(s).\n'
208 string +=
'Transform commands follow below.\n'
209 string +=
'Input and output file names (if present) are only suggestions.\n'
211 for trf
in self.trfs:
212 string+=
'\n'+
str(trf)+
'\n'
◆ isProdSys()
def python.trfAMI.TagInfo.isProdSys |
( |
|
self | ) |
|
Definition at line 175 of file trfAMI.py.
176 if self._isProdSys
is None:
179 self._isProdSys =
False
182 if self._tag[0]
in prodtags:
185 self._isProdSys=
False
186 return self._isProdSys
◆ trfs()
def python.trfAMI.TagInfo.trfs |
( |
|
self | ) |
|
Definition at line 190 of file trfAMI.py.
191 if self._trfs
is None:
◆ _isNewTag
python.trfAMI.TagInfo._isNewTag |
|
private |
◆ _isProdSys
python.trfAMI.TagInfo._isProdSys |
|
private |
◆ _suppressNonJobOptions
python.trfAMI.TagInfo._suppressNonJobOptions |
|
private |
◆ _tag
python.trfAMI.TagInfo._tag |
|
private |
◆ _trfs
python.trfAMI.TagInfo._trfs |
|
private |
The documentation for this class was generated from the following file: