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

Error message for KeyError is incorrect #14

Open
sfeister opened this issue Feb 14, 2018 · 1 comment
Open

Error message for KeyError is incorrect #14

sfeister opened this issue Feb 14, 2018 · 1 comment

Comments

@sfeister
Copy link
Member

An error message in opac-convert.py:

# Use handle_dict to create the eos_dict based on the input format. try: self.eos_dict = self.handle_dict[args.input]() except KeyError: raise KeyError('Must use valid format name.')

May assume a format name error, but this does not match the errors experienced.

@sfeister
Copy link
Member Author

sfeister commented Feb 14, 2018

Removing this try/catch revealed the actual error to be related to the subset of tables available in this particular SESAME file (only containing Total EOS), not an incorrect material format.

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