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

Wrong formatting of MaxAllowedMolecules accepted in config file #677

Closed
VGPReys opened this issue Aug 10, 2023 · 0 comments · Fixed by #678
Closed

Wrong formatting of MaxAllowedMolecules accepted in config file #677

VGPReys opened this issue Aug 10, 2023 · 0 comments · Fixed by #678
Assignees
Labels
bug Something isn't working

Comments

@VGPReys
Copy link
Contributor

VGPReys commented Aug 10, 2023

Describe the bug
String is not formatted when Exception is thrown.

To Reproduce
Put 50 input molecules at once in the configuration file:
molecules = ['mol1.pdb', ..., 'mol50.pdb']

raise ConfigurationError("Too many molecules defined, max is {max_molecules_allowed}.")

Expected behavior
Should return the value of max_molecules_allowed instead of the variable name

Additional context (optional - remove if not relevant)
I will solve this soon, this is just to keep track

@VGPReys VGPReys added the bug Something isn't working label Aug 10, 2023
@VGPReys VGPReys self-assigned this Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant