06fc9a515aaade3a17f3944b428fd30320636856,integration_test/test_recipyrc.py,TestRecipyrc,setup_class,#Any#,86

Before Change


            f.write("data = np.array([list(range(4,8))])")
            f.write("\n")
            f.write("np.savetxt(" +
                    str(TestRecipyrc.test_output_data).__repr__() +
                    ", data, delimiter=",")")
            f.write("\n")
            f.write("data = np.loadtxt(" +
                    str(TestRecipyrc.test_input_data).__repr__() +
                    ", delimiter=",")")
            f.write("\n")

    @classmethod

After Change


        TestRecipyrc.input_file =\
            os.path.join(TestRecipyrc.directory, "input.csv")
        with open(TestRecipyrc.input_file, "w") as csv_file:
            csv_file.write("1,4,9,16\n")
            csv_file.write("1,8,27,64\n")
            csv_file.write("\n")
        TestRecipyrc.output_file =\
            os.path.join(TestRecipyrc.directory, "output.csv")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: recipy/recipy
Commit Name: 06fc9a515aaade3a17f3944b428fd30320636856
Time: 2016-09-22
Author: michaelj@epcc.ed.ac.uk
File Name: integration_test/test_recipyrc.py
Class Name: TestRecipyrc
Method Name: setup_class


Project Name: theislab/scanpy
Commit Name: 0947ab294710b6eb8865534de15b0c67cc3f912b
Time: 2019-05-16
Author: flying-sheep@web.de
File Name: scanpy/readwrite.py
Class Name:
Method Name: write_params


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: d9748278abf04a9c74a95053fda62d0bff8b9f93
Time: 2019-02-16
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/utils/run.py
Class Name:
Method Name: experiment