Did I find the right examples for you? yes no

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

src/c/o/cogent-1.5.3/cogent/evolve/coevolution.py   cogent(Download)
        alts = Freqs([(c, p) for c, p in char_prob if c!=C])
        alts.normalize()
        alts = Freqs([(c,w/(2*n)) for c,w in alts.items()])
        weights += [(C, alts)]
    return weights

src/p/y/pycogent-HEAD/cogent/evolve/coevolution.py   pycogent(Download)
        alts = Freqs([(c, p) for c, p in char_prob if c!=C])
        alts.normalize()
        alts = Freqs([(c,w/(2*n)) for c,w in alts.items()])
        weights += [(C, alts)]
    return weights

src/c/o/cogent-1.5.3/cogent/core/usage.py   cogent(Download)
        normalized = Freqs(self)
        normalized.normalize()
        for aa, aa_freq in normalized.items():
            curr_codons = [c.upper().replace('T','U') for c in genetic_code[aa]]
            if not curr_codons:

src/p/y/pycogent-HEAD/cogent/core/usage.py   pycogent(Download)
        normalized = Freqs(self)
        normalized.normalize()
        for aa, aa_freq in normalized.items():
            curr_codons = [c.upper().replace('T','U') for c in genetic_code[aa]]
            if not curr_codons:

src/p/y/pycogent-HEAD/tests/test_seqsim/test_sequence_generators.py   pycogent(Download)
                      ('C','U'):0.1875, ('C','C'):0.5625})
 
        for k, v in exp.items():
            self.assertEqual(v, obs[k])
        for k, v in obs.items():

src/c/o/cogent-1.5.3/tests/test_seqsim/test_sequence_generators.py   cogent(Download)
                      ('C','U'):0.1875, ('C','C'):0.5625})
 
        for k, v in exp.items():
            self.assertEqual(v, obs[k])
        for k, v in obs.items():