Did I find the right examples for you? yes no

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/c/o/cogent-1.5.3/cogent/parse/pknotsrg.py   cogent(Download)
        primary = ViennaStructure(primary.translate(primary_table))
        first = ViennaStructure(first.translate(first_table))
        pairs = primary.toPairs()
        pairs.extend(first.toPairs()) #Adds the first steam to pairs object
        if struct.__contains__('{'): #Checks for second pseudo steam
            second = ViennaStructure(second.translate(second_table))
            pairs.extend(second.toPairs())
    else: 
          primary = ViennaStructure(primary.translate(primary_table))
          pairs = primary.toPairs()

src/p/y/pycogent-HEAD/cogent/parse/pknotsrg.py   pycogent(Download)
        primary = ViennaStructure(primary.translate(primary_table))
        first = ViennaStructure(first.translate(first_table))
        pairs = primary.toPairs()
        pairs.extend(first.toPairs()) #Adds the first steam to pairs object
        if struct.__contains__('{'): #Checks for second pseudo steam
            second = ViennaStructure(second.translate(second_table))
            pairs.extend(second.toPairs())
    else: 
          primary = ViennaStructure(primary.translate(primary_table))
          pairs = primary.toPairs()

src/c/o/cogent-1.5.3/cogent/parse/nupack.py   cogent(Download)
        second = ViennaStructure(second.translate(curly_to_bracket_table))
 
        pairs = first.toPairs()
        pairs.extend(second.toPairs())
        pairs.sort()
    else:
        structure = ViennaStructure(tmp.translate(curly_to_bracket_table))
        pairs = structure.toPairs()
        pairs.sort()
 

src/p/y/pycogent-HEAD/cogent/parse/nupack.py   pycogent(Download)
        second = ViennaStructure(second.translate(curly_to_bracket_table))
 
        pairs = first.toPairs()
        pairs.extend(second.toPairs())
        pairs.sort()
    else:
        structure = ViennaStructure(tmp.translate(curly_to_bracket_table))
        pairs = structure.toPairs()
        pairs.sort()
 

src/c/o/cogent-1.5.3/cogent/parse/rnashapes.py   cogent(Download)
    """
    struct = ViennaStructure(struct)
    pairs = struct.toPairs()
 
    return pairs

src/c/o/cogent-1.5.3/cogent/parse/rnaalifold.py   cogent(Download)
    """
    struct = ViennaStructure(struct)
    pairs = struct.toPairs()
 
    return pairs

src/p/y/pycogent-HEAD/cogent/parse/rnashapes.py   pycogent(Download)
    """
    struct = ViennaStructure(struct)
    pairs = struct.toPairs()
 
    return pairs

src/p/y/pycogent-HEAD/cogent/parse/rnaalifold.py   pycogent(Download)
    """
    struct = ViennaStructure(struct)
    pairs = struct.toPairs()
 
    return pairs