Scripts/Flag_placer.py
def update_total(flags, isbuildingflags):
    """ The update_total function iterates over all the flag types and increments the total number of reads it has
    encountered by 1.

    :param flags: a 2d list containing all the flag information.
    :param isbuildingflags: a list indicating which flags are currently being built.
    return flags: a 2d list containing all the flag information.
    """
    for index in range(0, len(flags)):
        if isbuildingflags[index]:
            flags[index][3]['total'] += 1

    return flags
 The update_total function iterates over all the flag types and increments the total number of reads it has
    encountered by 1.

    :param flags: a 2d list containing all the flag information.
    :param isbuildingflags: a list indicating which flags are currently being built.
    return flags: a 2d list containing all the flag information.
    
The update_total function iterates over all the flag types and increments the total number of reads it has
encountered by 1.
The update_total function iterates over all the flag types and increments the total number of reads it has encountered by 1 .
def update_total(flags, isbuildingflags):
    for index in range(0, len(flags)):
        if isbuildingflags[index]:
            flags[index][3]['total'] += 1
    return flags
def update_total ( flags , isbuildingflags ) : for index in range ( 0 , len ( flags ) ) : if isbuildingflags [ index ] : flags [ index ] [ 3 ] [ 'total' ] += 1 return flags
The update_total function iterates over all the flag types and increments the total number of reads it has
encountered by 1.
The update_total function iterates over all the flag types and increments the total number of reads it has encountered by 1 .
""" The update_total function iterates over all the flag types and increments the total number of reads it has
    encountered by 1.

    :param flags: a 2d list containing all the flag information.
    :param isbuildingflags: a list indicating which flags are currently being built.
    return flags: a 2d list containing all the flag information.
    """
flags
a 2d list containing all the flag information.
a 2d list containing all the flag information .
isbuildingflags
a list indicating which flags are currently being built.
return flags: a 2d list containing all the flag information.
a list indicating which flags are currently being built . return flags : a 2d list containing all the flag information .