adb70969fba94a26335b8f90b342bbfa95b75b1a,workers/data_refinery_workers/processors/qn_reference.py,,_prepare_input,#Any#,31

Before Change



    // We only need the resulting frame, not the entire archive
    outfile_base = job_context["work_dir"] + str(time.time()).split(".")[0]
    outfile = job_context["work_dir"] + str(time.time()).split(".")[0] + ".tsv"
    job_context["final_frame"].to_csv(outfile, sep="\t", encoding="utf-8")
    job_context["smashed_file"] = outfile
    job_context["target_file"] = outfile_base + "_target.tsv"

After Change


        return job_context

    // We only need the resulting frame, not the entire archive
    os.makedirs(job_context["work_dir"])
    outfile_base = job_context["work_dir"] + str(time.time()).split(".")[0]
    outfile = outfile_base + ".tsv"
    job_context["final_frame"].to_csv(outfile, sep="\t", encoding="utf-8")
    job_context["smashed_file"] = outfile
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: adb70969fba94a26335b8f90b342bbfa95b75b1a
Time: 2018-09-06
Author: miserlou@gmail.com
File Name: workers/data_refinery_workers/processors/qn_reference.py
Class Name:
Method Name: _prepare_input


Project Name: xinntao/BasicSR
Commit Name: 29ab5e1965503be3ffe87462e973edf1d457af6e
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/extract_subimgs_single.py
Class Name:
Method Name: main


Project Name: tensorlayer/tensorlayer
Commit Name: 35b2c4917344f338eda67c78673cf4064b3b4265
Time: 2020-02-07
Author: 34995488+Tokarev-TT-33@users.noreply.github.com
File Name: examples/reinforcement_learning/tutorial_DQN.py
Class Name:
Method Name: