e99b8821fe9a54d976909d37c1342e8f1875d498,pudl/init.py,,_ETL_cems,#Any#Any#Any#Any#Any#Any#,551

Before Change


    
    // If we"re not doing CEMS, just stop here to avoid printing messages like
    // "Reading EPA CEMS data...", which could be confusing.
    if states[0].lower() == "none":
        return None
    if states[0].lower() == "all":
        states = list(pc.cems_states.keys())
    if not epacems_years:
        return

After Change


    // "Reading EPA CEMS data...", which could be confusing.
    // if states[0].lower() == "none":
    //    return None
    if not states:
        if verbose:
            print("Not ingesting EPA CEMS.")
        return None
    if states[0].lower() == "all":
        states = list(pc.cems_states.keys())
    if not epacems_years:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: catalyst-cooperative/pudl
Commit Name: e99b8821fe9a54d976909d37c1342e8f1875d498
Time: 2018-09-13
Author: cgosnell@catalyst.coop
File Name: pudl/init.py
Class Name:
Method Name: _ETL_cems


Project Name: facebookresearch/pytext
Commit Name: e0afe32be948c78c8fc58b43ed013b88343f73ab
Time: 2019-05-24
Author: zsc@fb.com
File Name: pytext/config/serialize.py
Class Name:
Method Name: _union_from_json


Project Name: ultralytics/yolov3
Commit Name: 0bc1db58d82c2482bfac1e32a3a43cfd5a533da2
Time: 2021-01-10
Author: glenn.jocher@ultralytics.com
File Name: utils/google_utils.py
Class Name:
Method Name: attempt_download