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

Explanatory error messages when using an invalid Impact template #119

Closed
martimunicoy opened this issue Jan 12, 2021 · 0 comments · Fixed by #121
Closed

Explanatory error messages when using an invalid Impact template #119

martimunicoy opened this issue Jan 12, 2021 · 0 comments · Fixed by #121
Assignees
Labels
enhancement New feature or request

Comments

@martimunicoy
Copy link
Owner

Description

The method from_impact_template() requires as arguments a Molecule class and the path to the impact template to load. In case the molecule and the impact template do not represent the same chemical entity, the algorithm fails with an unspecific error message.

Solution

Check the match between Molecule representation and the impact template and prompt a specific error message in case they do not match.

@martimunicoy martimunicoy added the enhancement New feature or request label Jan 12, 2021
@laumalo laumalo self-assigned this Jan 13, 2021
@laumalo laumalo linked a pull request Jan 13, 2021 that will close this issue
5 tasks
@laumalo laumalo closed this as completed Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants