fdd6fcc21fd42a55f9988681850348e9f8201446,skbio/sequence/tests/test_sequence.py,SequenceInterfaceTests,test___getitem___with_invalid,#SequenceInterfaceTests#,188
Before Change
def test___getitem___with_invalid(self):
// This will make a numpy array of equal length
quality = np.fromstring(self.sample_sequence, dtype=np.uint8)
seq = self.cls(self.sample_sequence, id="id1",
description="description", quality=quality)
no_quality = self.cls(self.sample_sequence, id="id1",
description="description")
with self.assertRaises(TypeError):
After Change
no_qual[mask].equals(exp_no_qual, descriptive=True)
def test___getitem___with_invalid(self):
Seq, string, qual, max_range = self._getitem_compenents()
seq = Seq(string, id="idm", description="description", quality=qual)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: biocore/scikit-bio
Commit Name: fdd6fcc21fd42a55f9988681850348e9f8201446
Time: 2015-03-22
Author: ebolyen@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceInterfaceTests
Method Name: test___getitem___with_invalid
Project Name: biocore/scikit-bio
Commit Name: fdd6fcc21fd42a55f9988681850348e9f8201446
Time: 2015-03-22
Author: ebolyen@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceInterfaceTests
Method Name: test___getitem___with_mask
Project Name: biotite-dev/biotite
Commit Name: 009b79630bcfd78d97b3aa8e910495f9cd8ede7a
Time: 2018-11-19
Author: patrick.kunzm@gmail.com
File Name: src/biotite/sequence/io/fastq/file.py
Class Name: FastqFile
Method Name: __getitem__
Project Name: biocore/scikit-bio
Commit Name: fdd6fcc21fd42a55f9988681850348e9f8201446
Time: 2015-03-22
Author: ebolyen@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: SequenceInterfaceTests
Method Name: test___getitem___with_invalid