def to_value_seq(values):
    """ values might be a sequence or a single float value. 
    Returns either the original sequence or a sequence whose only
    item is the value"""
    try:
        val = float(values)
        return [val,]
    except:
        return values