37cf9e38c37c22d21487b7f4c0d70856ce9ddbed,rosie/rosie.py,,main,#,8

Before Change


            chamber_of_deputies.main(args.dataset)
        else:
            chamber_of_deputies.main()
    if ("federal-senate" in args.module) or args.module == "all":
        if args.dataset:
            federal_senate.main(args.dataset)
        else:
            federal_senate.main()


if __name__ == "__main__":
    main()

After Change




def main():
    arguments = docopt(__doc__)
    module = get_module(arguments)

    if arguments["test"]:
        test(module)

    if arguments["run"]:
        module = module if module != "core" else None
        run(module, arguments["--output"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 37cf9e38c37c22d21487b7f4c0d70856ce9ddbed
Time: 2018-12-20
Author: cuducos@users.noreply.github.com
File Name: rosie/rosie.py
Class Name:
Method Name: main


Project Name: OpenNMT/OpenNMT-py
Commit Name: 031392ff2cbb5703558d17a676a456521f754190
Time: 2016-12-15
Author: soumith@fb.com
File Name: mnist/main.py
Class Name:
Method Name: