184719bf2f01c441208fe972c2a2dc2c43726d98,benchmarking/run_remote.py,RunRemote,_updateArgs,#RunRemote#Any#,619

Before Change


                "aibench",
                "specifications/models/generic/adhoc.json"
            ) as stream:
                with os.fdopen(fd, "wb") as f:
                    f.write(stream.read())
            args.benchmark_file = path

After Change



    def _updateArgs(self, args):
        // Remove later when adhoc is moved to seperated infrastructure
        if args.adhoc is not None:
            adhoc_file, success = unpackAdhocFile(args.adhoc)
            if success:
                args.benchmark_file = adhoc_file
            else:
                getLogger().error(
                    "Could not find specified adhoc config: {}"
                    .format(args.adhoc)
                )


if __name__ == "__main__":
    raw_args = None
    app = RunRemote(raw_args=raw_args)
    app.run()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: facebook/FAI-PEP
Commit Name: 184719bf2f01c441208fe972c2a2dc2c43726d98
Time: 2019-10-08
Author: asankaran@fb.com
File Name: benchmarking/run_remote.py
Class Name: RunRemote
Method Name: _updateArgs


Project Name: NifTK/NiftyNet
Commit Name: 5b0bdf006088f720bd21ae838e8903ee49282bde
Time: 2017-06-08
Author: wenqi.li@ucl.ac.uk
File Name: run_application.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: 4ed788f3afbdc55b0abd30bfaa0f2770e64a9055
Time: 2017-06-09
Author: wenqi.li@ucl.ac.uk
File Name: run_application.py
Class Name:
Method Name: