e2d9e370df886382d0815f2e68925f8dc49986b0,pudl/extract/ferc1.py,,extract,#Any#Any#Any#,547

Before Change


    // this is here because if ferc wasn"t ingested in the same session, there
    // will not be a defined metadata object to use to find and grab the tables
    // from the ferc1 mirror db
    if len(ferc1_meta.tables) == 0:
        define_db(max(pc.working_years["ferc1"]),
                  pc.ferc1_default_tables,
                  ferc1_meta,
                  basedir=SETTINGS["ferc1_data_dir"])

    for table in ferc1_extract_functions:
        if ferc1_tables:
            if table in ferc1_tables:
                logger.info(

After Change


            fuctions found in the pudl.transform.ferc1 module.

    
    if (not ferc1_tables) or (not ferc1_years):
        return {}

    for year in ferc1_years:
        if year not in pc.data_years["ferc1"]:
            raise ValueError(
                f"FERC Form 1 data from the year {year} was requested but is "
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: e2d9e370df886382d0815f2e68925f8dc49986b0
Time: 2019-05-30
Author: zane.selvans@catalyst.coop
File Name: pudl/extract/ferc1.py
Class Name:
Method Name: extract


Project Name: catalyst-cooperative/pudl
Commit Name: e2d9e370df886382d0815f2e68925f8dc49986b0
Time: 2019-05-30
Author: zane.selvans@catalyst.coop
File Name: test/conftest.py
Class Name:
Method Name: ferc1_engine


Project Name: catalyst-cooperative/pudl
Commit Name: e2d9e370df886382d0815f2e68925f8dc49986b0
Time: 2019-05-30
Author: zane.selvans@catalyst.coop
File Name: test/conftest.py
Class Name:
Method Name: ferc1_engine_travis_ci