c762bf00c23ec2fbd9ec019cd1580c69b13bfdec,skbio/sequence/tests/test_sequence.py,BiologicalSequenceTests,test_equals_true,#BiologicalSequenceTests#,257

Before Change


            BiologicalSequence("ACGT").equals(BiologicalSequence("ACGT")))

        // all attributes are provided and match
        self.assertTrue(
            BiologicalSequence("ACGT", id="foo", description="abc",
                               quality=[1, 2, 3, 4]).equals(
            BiologicalSequence("ACGT", id="foo", description="abc",
                               quality=[1, 2, 3, 4])))

        // ignore id
        self.assertTrue(
            BiologicalSequence("ACGT", id="foo").equals(

After Change



        // ignore description
        a = BiologicalSequence("ACGT", description="foo")
        b = BiologicalSequence("ACGT", description="bar")
        self.assertTrue(a.equals(b, ignore=["description"]))

        // ignore quality
        a = BiologicalSequence("ACGT", quality=[1, 2, 3, 4])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: biocore/scikit-bio
Commit Name: c762bf00c23ec2fbd9ec019cd1580c69b13bfdec
Time: 2014-09-02
Author: jai.rideout@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: BiologicalSequenceTests
Method Name: test_equals_true


Project Name: biocore/scikit-bio
Commit Name: d273471aba2a1736c0dec48fbe327abfc9d810f2
Time: 2014-09-03
Author: jai.rideout@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: BiologicalSequenceTests
Method Name: test_getitem


Project Name: biocore/scikit-bio
Commit Name: cf8db1f7c86d0f201cbae9d599367b4d497f92c5
Time: 2014-03-28
Author: yoshiki89@gmail.com
File Name: skbio/parse/tests/test_sequences.py
Class Name: RfamParserTests
Method Name: test_MinimalRfamParser_w_valid_data


Project Name: biocore/scikit-bio
Commit Name: c762bf00c23ec2fbd9ec019cd1580c69b13bfdec
Time: 2014-09-02
Author: jai.rideout@gmail.com
File Name: skbio/sequence/tests/test_sequence.py
Class Name: BiologicalSequenceTests
Method Name: test_equals_false