src/jpyEDM_v0.py
def onColumnCCMClick( change ):
    '''Save columnCCM click order into columnCCMOrder'''
    global columnCCMOrder

    if len( change['new'] ) == 1 :
        columnCCMOrder = list( change['new'] )
        return

    for column in change['new']:
        if column not in columnCCMOrder:
            columnCCMOrder.append( column )

    for column in columnCCMOrder:
        if column not in change['new']:
            columnCCMOrder.remove( column )
Save columnCCM click order into columnCCMOrder
Save columnCCM click order into columnCCMOrder
Save columnCCM click order into columnCCMOrder
def onColumnCCMClick( change ):
    global columnCCMOrder
    if len( change['new'] ) == 1 :
        columnCCMOrder = list( change['new'] )
        return
    for column in change['new']:
        if column not in columnCCMOrder:
            columnCCMOrder.append( column )
    for column in columnCCMOrder:
        if column not in change['new']:
            columnCCMOrder.remove( column )
def onColumnCCMClick ( change ) : global columnCCMOrder if len ( change [ 'new' ] ) == 1 : columnCCMOrder = list ( change [ 'new' ] ) return for column in change [ 'new' ] : if column not in columnCCMOrder : columnCCMOrder . append ( column ) for column in columnCCMOrder : if column not in change [ 'new' ] : columnCCMOrder . remove ( column )
Save columnCCM click order into columnCCMOrder
Save columnCCM click order into columnCCMOrder
'''Save columnCCM click order into columnCCMOrder'''
change