3c8509c5711bf3e3edef1cd0bfd3a767ab426ab0,QUANTAXIS/QACmd/__init__.py,CLI,do_examples,#CLI#Any#,66

Before Change


        elif platform.system() in ["Linux", "Darwin"]:
            file_dir = project_dir + "/backtest.py"

        shutil.copy(file_dir, now_path)

        QA_util_log_info(
            "Successfully generate a example strategy in :  " + now_path)

After Change


        //project_dir = os.path.dirname(os.path.abspath(__file__))
        
        data=requests.get("https://codeload.github.com/yutiansut/QADemo/zip/master")
        with open("{}{}QADEMO.zip".format(now_path,os.sep), "wb") as code:
            code.write(data.content)

        QA_util_log_info(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 3c8509c5711bf3e3edef1cd0bfd3a767ab426ab0
Time: 2018-04-22
Author: yutiansut@qq.com
File Name: QUANTAXIS/QACmd/__init__.py
Class Name: CLI
Method Name: do_examples


Project Name: CSAILVision/semantic-segmentation-pytorch
Commit Name: 71c559e66eaff89089fa447a3d7e04b6835356cf
Time: 2019-08-02
Author: zhaohang0124@gmail.com
File Name: dataset.py
Class Name: TestDataset
Method Name: __getitem__


Project Name: CSAILVision/semantic-segmentation-pytorch
Commit Name: 71c559e66eaff89089fa447a3d7e04b6835356cf
Time: 2019-08-02
Author: zhaohang0124@gmail.com
File Name: dataset.py
Class Name: ValDataset
Method Name: __getitem__