__init__(self,
category,
var_name=None,
tag_name=None,
allowed=None,
default=None,
format=' str ' ,
missing=True)
(Constructor)
| source code
|
Setup the internal variables.
This stores the variable name, BMRB NMR-STAR tag name, a list of
allowable values, the missing flag, and any other tag specific
information corresponding to the key.
- Parameters:
category (TagTranslationTable instance) - The parent tag category class object.
var_name (None or str) - The saveframe variable name corresponding to the key.
tag_name (None or str) - The BMRB NMR-STAR tag name corresponding to the key.
allowed (None or list) - A list of allowable values for the data.
default (anything) - The default value.
format (str) - The original python format of the data.
missing (bool) - A flag which if True will allow the data to be set to None.
- Overrides:
object.__init__
|