def get_non_classic(templates_non_classic, js):
    """
    Getting edges with non classic peptide bonds.

    Parameters
    ----------
    templates_non_classic : list
        List of atoms of non classic peptide bonds.
    js : dict
        Opend rBAN peptideGraph.json.
    Returns
    -------
    non_classic : list
        List of amino acids, bonded with non classic peptide bonds.
    """
    non_classic = []

    for tp in templates_non_classic:
        for atom in js['atomicGraph']['atomicGraph']['atoms']:
            if atom['cdk_idx'] in tp:
                if atom['matchIdx'] in non_classic:
                    continue

                non_classic.append(atom['matchIdx']) #Adding amino
    return non_classic