def cif_site_labels(cif):
    (atoms, ts, tm, tinds, os, om, oinds) = read_cif(cif)
    labels = {}
    for (i, t) in enumerate(ts):
        for j in range(tm[i]):
            labels[(tinds[i] + j)] = t
    for (i, o) in enumerate(os):
        for j in range(om[i]):
            labels[(oinds[i] + j)] = o
    return labels
def cif_site_labels(cif):
    (atoms, ts, tm, tinds, os, om, oinds) = read_cif(cif)
    labels = {}
    for (i, t) in enumerate(ts):
        for j in range(tm[i]):
            labels[(tinds[i] + j)] = t
    for (i, o) in enumerate(os):
        for j in range(om[i]):
            labels[(oinds[i] + j)] = o
    return labels