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

Argument sheet_name is ignored when reading xlsx file with one sheet #878

Open
danielhuppmann opened this issue Aug 27, 2024 · 0 comments
Open
Labels

Comments

@danielhuppmann
Copy link
Member

While reviewing #876 by @korsbakken, I noticed that the sheet-name argument is ignored when reading an xlsx file that has only one sheet. This should be fixed such that sheet_name defaults to None and the parsing uses data* only if sheet-name is None.

Basically, when passing sheet_name="foo" and there is no sheet with that name, pyam should raise an error.

Could be implemented jointly with #690

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant