8a2be401001ff88cd01bba73c6ed4af4ce8a223b,workers/data_refinery_workers/processors/test_qn_reference.py,QNRefTestCase,test_qn_reference,#QNRefTestCase#,31

Before Change


        from django.test import TestCase
        from django.utils.six import StringIO

        out = StringIO()
        try:
            call_command("create_qn_target", organism="homo_sapiens", min=1, stdout=out)
        except SystemExit as e: // this is okay!
            pass

        stdout = out.getvalue()
        self.assertTrue("Target file" in stdout)
        path = stdout.split("\n")[0].split(":")[1].strip()
        self.assertTrue(os.path.exists(path))
        self.assertEqual(path, utils.get_most_recent_qn_target_for_organism(homo_sapiens).absolute_file_path)

After Change


        experiment.organism_names = [homo_sapiens.name]
        experiment.save()
        // We don"t have a 0.tsv
        codes = [str(i) for i in range(1, 201)]

        for code in codes:
            sample = Sample()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: 8a2be401001ff88cd01bba73c6ed4af4ce8a223b
Time: 2019-10-29
Author: kurt.wheeler91@gmail.com
File Name: workers/data_refinery_workers/processors/test_qn_reference.py
Class Name: QNRefTestCase
Method Name: test_qn_reference


Project Name: uber/petastorm
Commit Name: 6e127316edc8118049ca29ff94e2f4c6d34580dc
Time: 2018-07-31
Author: selitvin@users.noreply.github.com
File Name: petastorm/codecs.py
Class Name: CompressedImageCodec
Method Name: encode


Project Name: horovod/horovod
Commit Name: d0e30e8810abfa506f67e2cf957a30e2f281f69e
Time: 2020-03-31
Author: github@enrico.minack.dev
File Name: horovod/run/mpi_run.py
Class Name:
Method Name: _get_mpi_implementation_flags