fb4fcd0687fd3b4c7ece8a86d0de5d877bfb2ea1,src/pudl/cli.py,,main,#,34

Before Change


        data_dir=pudl_settings["data_dir"],
    )

    try:
        debug = script_settings["debug"]
    except KeyError:
        debug = False

    pudl.init.init_db(ferc1_tables=script_settings["ferc1_tables"],
                      ferc1_years=script_settings["ferc1_years"],
                      eia923_tables=script_settings["eia923_tables"],
                      eia923_years=script_settings["eia923_years"],

After Change


    pudl_settings = pudl.workspace.setup.derive_paths(
        pudl_in=pudl_in, pudl_out=pudl_out)

    with open(pathlib.Path(pudl_out, "settings",
                           args.settings_datapackage_file),
              "r") as f:
        pkg_bundle_settings = yaml.safe_load(f)

    pudl.output.export.generate_data_packages(
        pkg_bundle_settings,
        pudl_settings,
        debug=args.debug,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: fb4fcd0687fd3b4c7ece8a86d0de5d877bfb2ea1
Time: 2019-08-21
Author: cgosnell@catalyst.coop
File Name: src/pudl/cli.py
Class Name:
Method Name: main


Project Name: SheffieldML/GPy
Commit Name: c6efa62e3684ef380523fcb6c02d881c55fd1e3e
Time: 2015-10-12
Author: ibinbei@gmail.com
File Name: setup.py
Class Name:
Method Name: read


Project Name: iskandr/fancyimpute
Commit Name: 69e3281193adeac365b0a223fbfb13eb8be2ee5e
Time: 2018-11-09
Author: alex.rubinsteyn@gmail.com
File Name: setup.py
Class Name:
Method Name: