Source code for tmtk.params.TagsParams
from .ParamsBase import ParamsBase
[docs]class TagsParams(ParamsBase):
@property
def mandatory(self):
return {'TAGS_FILE': {
'helptext': 'Points to the tags file.'
}
}
@property
def optional(self):
return {}
[docs] def is_viable(self):
"""
:return: True if both the column mapping file is located, else returns False.
"""
if self.get('TAGS_FILE'):
return True
else:
return False