def relabel_bacteria(bacteria):
    """
    Relabel bacteria in dictionary to be
    sequential
    """
    relabelled = {}
    maxlabel = 0
    for well_label, bacnow in bacteria.items():
        bacnow[bacnow > 0] += maxlabel
        relabelled[well_label] = bacnow.copy()
        maxlabel = max(maxlabel, bacnow.max())
    return relabelled