0f5b91a6c6ebd0dc657043843a81d6683032e174,skbio/sequence/_iupac_sequence.py,IUPACSequence,nondegenerates,#IUPACSequence#,223
Before Change
// membership on the assumption that an exception is rarely
// thrown.
try:
expansions.append(degen_chars[char] )
except KeyError:
raise SequenceError(
"Sequence contains an invalid character: %s" % char)
After Change
return bool(self.degenerates().any())
def nondegenerates(self):
return np.in1d(self._bytes, self._nondegenerate_codes)
def has_nondegenerates(self):
return bool(self.nondegenerates().any())
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: biocore/scikit-bio
Commit Name: 0f5b91a6c6ebd0dc657043843a81d6683032e174
Time: 2015-05-05
Author: ebolyen@gmail.com
File Name: skbio/sequence/_iupac_sequence.py
Class Name: IUPACSequence
Method Name: nondegenerates
Project Name: pfnet-research/chainer-chemistry
Commit Name: 1e7f2cf31f4d733208b2586662f524e8746de803
Time: 2018-02-22
Author: corochannz@gmail.com
File Name: chainer_chemistry/training/extensions/roc_auc_evaluator.py
Class Name: ROCAUCEvaluator
Method Name: evaluate
Project Name: theislab/scanpy
Commit Name: f057ac20d14701589fae264ffb6de7382fe6ffef
Time: 2017-03-01
Author: flying-sheep@web.de
File Name: scanpy/examples/builtin.py
Class Name:
Method Name: moignard15_raw