{"action":"opened","issue":{"url":"https://api.github.com/repos/catalyst-cooperative/pudl/issues/232","repository_url":"https://api.github.com/repos/catalyst-cooperative/pudl","labels_url":"https://api.github.com/repos/catalyst-cooperative/pudl/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/catalyst-cooperative/pudl/issues/232/comments","events_url":"https://api.github.com/repos/catalyst-cooperative/pudl/issues/232/events","html_url":"https://github.com/catalyst-cooperative/pudl/issues/232","id":372293714,"node_id":"MDU6SXNzdWUzNzIyOTM3MTQ=","number":232,"title":"Importing FERC Form 1 for just 2016 fails","user":{"login":"zaneselvans","id":596279,"node_id":"MDQ6VXNlcjU5NjI3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/596279?v=4","gravatar_id":"","url":"https://api.github.com/users/zaneselvans","html_url":"https://github.com/zaneselvans","followers_url":"https://api.github.com/users/zaneselvans/followers","following_url":"https://api.github.com/users/zaneselvans/following{/other_user}","gists_url":"https://api.github.com/users/zaneselvans/gists{/gist_id}","starred_url":"https://api.github.com/users/zaneselvans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaneselvans/subscriptions","organizations_url":"https://api.github.com/users/zaneselvans/orgs","repos_url":"https://api.github.com/users/zaneselvans/repos","events_url":"https://api.github.com/users/zaneselvans/events{/privacy}","received_events_url":"https://api.github.com/users/zaneselvans/received_events","type":"User","site_admin":false},"labels":[{"id":530157185,"node_id":"MDU6TGFiZWw1MzAxNTcxODU=","url":"https://api.github.com/repos/catalyst-cooperative/pudl/labels/bug","name":"bug","color":"cc0000","default":true},{"id":588634085,"node_id":"MDU6TGFiZWw1ODg2MzQwODU=","url":"https://api.github.com/repos/catalyst-cooperative/pudl/labels/data%20cleaning","name":"data cleaning","color":"00aa88","default":false},{"id":537873358,"node_id":"MDU6TGFiZWw1Mzc4NzMzNTg=","url":"https://api.github.com/repos/catalyst-cooperative/pudl/labels/ferc1","name":"ferc1","color":"ffff00","default":false}],"state":"open","locked":false,"assignee":{"login":"zaneselvans","id":596279,"node_id":"MDQ6VXNlcjU5NjI3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/596279?v=4","gravatar_id":"","url":"https://api.github.com/users/zaneselvans","html_url":"https://github.com/zaneselvans","followers_url":"https://api.github.com/users/zaneselvans/followers","following_url":"https://api.github.com/users/zaneselvans/following{/other_user}","gists_url":"https://api.github.com/users/zaneselvans/gists{/gist_id}","starred_url":"https://api.github.com/users/zaneselvans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaneselvans/subscriptions","organizations_url":"https://api.github.com/users/zaneselvans/orgs","repos_url":"https://api.github.com/users/zaneselvans/repos","events_url":"https://api.github.com/users/zaneselvans/events{/privacy}","received_events_url":"https://api.github.com/users/zaneselvans/received_events","type":"User","site_admin":false},"assignees":[{"login":"zaneselvans","id":596279,"node_id":"MDQ6VXNlcjU5NjI3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/596279?v=4","gravatar_id":"","url":"https://api.github.com/users/zaneselvans","html_url":"https://github.com/zaneselvans","followers_url":"https://api.github.com/users/zaneselvans/followers","following_url":"https://api.github.com/users/zaneselvans/following{/other_user}","gists_url":"https://api.github.com/users/zaneselvans/gists{/gist_id}","starred_url":"https://api.github.com/users/zaneselvans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaneselvans/subscriptions","organizations_url":"https://api.github.com/users/zaneselvans/orgs","repos_url":"https://api.github.com/users/zaneselvans/repos","events_url":"https://api.github.com/users/zaneselvans/events{/privacy}","received_events_url":"https://api.github.com/users/zaneselvans/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/catalyst-cooperative/pudl/milestones/1","html_url":"https://github.com/catalyst-cooperative/pudl/milestone/1","labels_url":"https://api.github.com/repos/catalyst-cooperative/pudl/milestones/1/labels","id":2303264,"node_id":"MDk6TWlsZXN0b25lMjMwMzI2NA==","number":1,"title":"0.1.0","description":"This is the first version of PUDL that we are going to release for normal installation by users.  It will include well integrated versions of EIA 923, EIA 860, FERC Form 1, and the EPA CEMS data, as well as some useful tabular outputs and analytical functions like the calculation of MCOE.","creator":{"login":"swinter2011","id":713818,"node_id":"MDQ6VXNlcjcxMzgxOA==","avatar_url":"https://avatars1.githubusercontent.com/u/713818?v=4","gravatar_id":"","url":"https://api.github.com/users/swinter2011","html_url":"https://github.com/swinter2011","followers_url":"https://api.github.com/users/swinter2011/followers","following_url":"https://api.github.com/users/swinter2011/following{/other_user}","gists_url":"https://api.github.com/users/swinter2011/gists{/gist_id}","starred_url":"https://api.github.com/users/swinter2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swinter2011/subscriptions","organizations_url":"https://api.github.com/users/swinter2011/orgs","repos_url":"https://api.github.com/users/swinter2011/repos","events_url":"https://api.github.com/users/swinter2011/events{/privacy}","received_events_url":"https://api.github.com/users/swinter2011/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":40,"state":"open","created_at":"2017-02-06T16:54:58Z","updated_at":"2018-10-21T08:58:57Z","due_on":"2018-12-31T08:00:00Z","closed_at":null},"comments":0,"created_at":"2018-10-21T08:58:57Z","updated_at":"2018-10-21T08:58:57Z","closed_at":null,"author_association":"MEMBER","body":"**Describe the bug**\r\nWhen initializing the PUDL database, if the only FERC Form 1 year included is 2016, the import fails in `pudl.transform.ferc1.fuel()` with an infinite recursion.  When more than 1 year of data is used to initialize the database, alongside 2016, the process completes successfully.\r\n\r\n**To Reproduce**\r\n```py\r\nimport pudl\r\npudl.init.init_db(\r\n    ferc1_tables=['fuel_ferc1'],\r\n    ferc1_years=[2016],\r\n    eia923_tables=pudl.constants.eia923_pudl_tables,\r\n    eia923_years=[],\r\n    eia860_tables=pudl.constants.eia860_pudl_tables,\r\n    eia860_years=[],\r\n    epacems_years=[],\r\n    epacems_states=pudl.constants.travis_ci_epacems_states,\r\n    verbose=True,\r\n    debug=False,\r\n    pudl_testing=True,\r\n    ferc1_testing=False)\r\n```\r\n\r\n**Expected behavior**\r\nPUDL should be able to import any individual year of data from any of the data sources in isolation.\r\n"}}
{"actor":{"display_login":"zaneselvans"}}