def select_positive_float(message=''):
    """ CLI non-negative float selection. """
    
    value = -1
    while value < 0:
        value = float(input(message))
        if value < 0:
            logger.error('Invalid choice.')
    return value
CLI non-negative float selection.
ISR/utils/utils.py