5b0bdf006088f720bd21ae838e8903ee49282bde,run_application.py,,,#,9

Before Change


if sys.version_info[0] >= 3:
    sys.stdout = os.fdopen(sys.stdout.fileno(), "w")
else:
    sys.stdout = os.fdopen(sys.stdout.fileno(), "w", 0)



class NetFactory(object):

After Change


    if util.has_bad_inputs(args):
        sys.exit(-1)
    if not (args.cuda_devices == """"):
        os.environ["CUDA_VISIBLE_DEVICES"] = args.cuda_devices
        print("set CUDA_VISIBLE_DEVICES env to {}".format(args.cuda_devices))
    net_class = NetFactory.create(args.net_name)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


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: comic/grand-challenge.org
Commit Name: ab9b98df5cb0447bda0ee0fd582af80b9c220a20
Time: 2017-11-01
Author: jamesmeakin@gmail.com
File Name: app/evaluation/tests/test_views.py
Class Name:
Method Name: test_upload_file


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: