frag_pele/PlopRotTemp_S_2017/PlopRotTemp.py
def assign_rank_group(atom_num, assign, rank, rank_num):
    """
    |
    **Description:** Assign rank to each group

    **Input:**
      - atom_num: Atom respectively which we are producing the rank from
      - assign: Group of molecules grouped on clusters dependiong on the ligand connectivity
      - rank: list of numbers for each atom which will show 
            which atoms are closer to the atom we are making the rank from.
      - rank_num: ----

    **Output**:
      - rank: rank of all atoms
    """

    # Add assignments for all atom in the same group as atom_num
    for i in range(len(assign)):
        if (assign[i] == assign[atom_num]):
            rank[i] = rank_num
    return rank

    |
    **Description:** Assign rank to each group

    **Input:**
      - atom_num: Atom respectively which we are producing the rank from
      - assign: Group of molecules grouped on clusters dependiong on the ligand connectivity
      - rank: list of numbers for each atom which will show 
            which atoms are closer to the atom we are making the rank from.
      - rank_num: ----

    **Output**:
      - rank: rank of all atoms
    
|
Description:** Assign rank to each group

Atom respectively which we are producing the rank from
assign: Group of molecules grouped on clusters dependiong on the ligand connectivity
rank: list of numbers for each atom which will show
which atoms are closer to the atom we are making the rank from.

Output**:
rank: rank of all atoms
| Description : ** Assign rank to each group Atom respectively which we are producing the rank from assign : Group of molecules grouped on clusters dependiong on the ligand connectivity rank : list of numbers for each atom which will show which atoms are closer to the atom we are making the rank from . Output ** : rank : rank of all atoms
def assign_rank_group(atom_num, assign, rank, rank_num):
    for i in range(len(assign)):
        if (assign[i] == assign[atom_num]):
            rank[i] = rank_num
    return rank
def assign_rank_group ( atom_num , assign , rank , rank_num ) : for i in range ( len ( assign ) ) : if ( assign [ i ] == assign [ atom_num ] ) : rank [ i ] = rank_num return rank
|
Description:** Assign rank to each group
| Description : ** Assign rank to each group
"""
    |
    **Description:** Assign rank to each group

    **Input:**
      - atom_num: Atom respectively which we are producing the rank from
      - assign: Group of molecules grouped on clusters dependiong on the ligand connectivity
      - rank: list of numbers for each atom which will show 
            which atoms are closer to the atom we are making the rank from.
      - rank_num: ----

    **Output**:
      - rank: rank of all atoms
    """ # Add assignments for all atom in the same group as atom_num
atom_num
assign
rank
rank_num