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

No variables read in #231

Closed
znicholls opened this issue Apr 8, 2019 · 0 comments
Closed

No variables read in #231

znicholls opened this issue Apr 8, 2019 · 0 comments
Assignees
Labels

Comments

@znicholls
Copy link
Collaborator

Describe the bug

If you set only="junk" when running MAGICC, the error is too cryptic.

Failing Test

with pytest.raises(ValueError, match="No variables found for only = 'junk', returning an empty dataframe"):
    with MAGICC6() as magicc:
        magicc.run(ony="junk")

Expected behavior

See test above

Screenshots

If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS: Linux
  • Python and Pymagicc version: Python 3.7

Additional context

Add any other context about the problem here.

@znicholls znicholls self-assigned this Apr 8, 2019
@znicholls znicholls added the bug label Apr 8, 2019
@znicholls znicholls mentioned this issue Apr 8, 2019
4 tasks
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