You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above exception was the direct cause of the following exception:
year = 2020
@pytest.mark.parametrize("year", [2020])
@pytest.mark.inventory
def test_generate_inventories(year):
for inventory in config()['databases']:
try:
generate_inventory(inventory, year)
tests/test_inventory_generation.py:30:
stewi/globals.py:302: in generate_inventory
GHGRP.main(Option = 'A', Year = [year])
stewi/GHGRP.py:770: in main
ghgrp1 = download_and_parse_subpart_tables(year, m)
stewi/GHGRP.py:338: in download_and_parse_subpart_tables
table_df = import_or_download_table(filepath, subpart_emissions_table,
stewi/GHGRP.py:244: in import_or_download_table
row_count = get_row_count(table, report_year=year)
_______________________ test_generate_inventories[2020] ________________________
table = 'C_CONFIGURATION_LEVEL_INFO', report_year = '2020'
E IndexError: list index out of range
stewi/GHGRP.py:127: IndexError
The above exception was the direct cause of the following exception:
year = 2020
tests/test_inventory_generation.py:30:
stewi/globals.py:302: in generate_inventory
GHGRP.main(Option = 'A', Year = [year])
stewi/GHGRP.py:770: in main
ghgrp1 = download_and_parse_subpart_tables(year, m)
stewi/GHGRP.py:338: in download_and_parse_subpart_tables
table_df = import_or_download_table(filepath, subpart_emissions_table,
stewi/GHGRP.py:244: in import_or_download_table
row_count = get_row_count(table, report_year=year)
table = 'C_CONFIGURATION_LEVEL_INFO', report_year = '2020'
E Exception: error accessing table count for C_CONFIGURATION_LEVEL_INFO
stewi/GHGRP.py:129: Exception
The text was updated successfully, but these errors were encountered: