def float_to_string(f):
    if abs(f) < 1e-6:
        return "0"
    elif abs(1 - f) < 1e-6:
        return "1"
    return "%g" % (f)
Remove session object from the container
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/utils/json_utils.py/float_to_string--crossover with--dataset/ETHPy150Open benoitc/gaffer/gaffer/sockjs/sessioncontainer.py/SessionContainer.remove