Did I find the right examples for you? yes no

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

src/c/o/cogent-1.5.3/cogent/struct/knots.py   cogent(Download)
        self.Pairs = Pairs()
        for i in range(self.Length):
            self.Pairs.append((self.Start+i, self.End-i)) 
 
    def __str__(self):
            nested = []
            for x,y in t:
                nested.append((mapped_back[x], mapped_back[y]))
        else:
            # sequence short enough, fill matrix directly
        for bp in p:
            if bp not in nested:
                removed.append(bp)
        return nested, removed
    else:

src/p/y/pycogent-HEAD/cogent/struct/knots.py   pycogent(Download)
        self.Pairs = Pairs()
        for i in range(self.Length):
            self.Pairs.append((self.Start+i, self.End-i)) 
 
    def __str__(self):
            nested = []
            for x,y in t:
                nested.append((mapped_back[x], mapped_back[y]))
        else:
            # sequence short enough, fill matrix directly
        for bp in p:
            if bp not in nested:
                removed.append(bp)
        return nested, removed
    else:

src/c/o/cogent-1.5.3/cogent/struct/pairs_util.py   cogent(Download)
        else:
            new_y = y
        result.append((new_x, new_y))
    assert len(result) == len(pairs)
    return result
        else:
            new_y = mapping[y]
        result.append((new_x, new_y))
 
    return result
            else:
                new_down = down
            result.append((new_up, new_down))
    return result
 
        else:
            new_y = y
        new.append((new_x, new_y))
    return new
 

src/p/y/pycogent-HEAD/cogent/struct/pairs_util.py   pycogent(Download)
        else:
            new_y = y
        result.append((new_x, new_y))
    assert len(result) == len(pairs)
    return result
        else:
            new_y = mapping[y]
        result.append((new_x, new_y))
 
    return result
            else:
                new_down = down
            result.append((new_up, new_down))
    return result
 
        else:
            new_y = y
        new.append((new_x, new_y))
    return new