bebea44f36d9397d273c9074079e253e0b4b8d56,workers/data_refinery_workers/processors/test_geo.py,IlluminaToPCLTestCase,test_good_detection,#IlluminaToPCLTestCase#,110

Before Change


            sample.organism = Organism.get_object_for_name("Homo sapiens")
            sample.save()

            sa = SampleAnnotation()
            sa.sample = sample
            sa.data = {}
            sa.save()

            sample_assoc = OriginalFileSampleAssociation()
            sample_assoc.original_file = og_file
            sample_assoc.sample = sample

After Change


        self.assertEqual(final_context["platform"], "illuminaHumanv3")

        for key in final_context["samples"][0].sampleannotation_set.all()[0].data.keys():
            self.assertTrue(key in ["detected_platform", "detection_percentage", "mapped_percentage"])

class AgilentTwoColorTestCase(TestCase):

    @tag("agilent")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: bebea44f36d9397d273c9074079e253e0b4b8d56
Time: 2018-06-21
Author: miserlou@gmail.com
File Name: workers/data_refinery_workers/processors/test_geo.py
Class Name: IlluminaToPCLTestCase
Method Name: test_good_detection


Project Name: AlexsLemonade/refinebio
Commit Name: 5530d45442a089b4a4b47c1fecb91581332cda84
Time: 2020-08-12
Author: willvauclain.dev@gmail.com
File Name: common/data_refinery_common/models/test_ontology_term.py
Class Name: TestOntologyTerm
Method Name: test_get_or_create_from_api_returns_cached


Project Name: chakki-works/doccano
Commit Name: 655e3f55a5c24e11941f17942b3fa108c81fb603
Time: 2019-01-23
Author: light.tree.1.13@gmail.com
File Name: app/server/tests/test_annotation_api.py
Class Name: TestAnnotationAPI
Method Name: test_delete_annotation


Project Name: AlexsLemonade/refinebio
Commit Name: bebea44f36d9397d273c9074079e253e0b4b8d56
Time: 2018-06-21
Author: miserlou@gmail.com
File Name: workers/data_refinery_workers/processors/test_geo.py
Class Name: IlluminaToPCLTestCase
Method Name: test_good_detection