def float_with_error(x):
    """
    some value in cif accompanies error like "1.234(5)
    """
    if '?' in x:
        return 0
    pos = x.find('(')
    if pos >= 0:
        x = x[:pos]
    return float(x)
