def METHOD_NAME(self, val):
    '''
    Parses input such that the operating mode
    '''
    if self.mode.get() == 'cal':
        raise NotImplementedError('Not implemented in current version')
    return '{} {}'.format(self.mode.get(), val)