Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't fail on missing file #7

Open
delucchi-cmu opened this issue Sep 5, 2023 · 0 comments
Open

Don't fail on missing file #7

delucchi-cmu opened this issue Sep 5, 2023 · 0 comments

Comments

@delucchi-cmu
Copy link
Contributor

In this case, the benchmarks were not set up yet on the repo, and I think it would be preferable to just pass through and not fail to create a new table from the file.

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/runner/.local/lib/python3.10/site-packages/lf_asv_formatter/__main__.py", line 115, in <module>
    headers, rows = format_asv_table_from_file(output_file)
  File "/home/runner/.local/lib/python3.10/site-packages/lf_asv_formatter/__main__.py", line 54, in format_asv_table_from_file
    headers = format_headers(rows[0])
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant