-
Notifications
You must be signed in to change notification settings - Fork 9
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
QC-program keywords #239
QC-program keywords #239
Conversation
needs #235 for testing faliures |
Thanks for looking into this @jthorton! Can I just make sure I understand what's going on here? We expose QCSubmit's We want to add the Have I got that right? If that's right, then I think this is great. I might also add a note to the big refactor issue that we should move away from using |
Hi, @Yoshanuikabundi that's right! Our main reason for using The main features we will want here are validation of the method, basis and program combination along with the ability to pass keywords and possibly the validation of implicit solvent settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! I'd like to add tests as we add new features, so I've written one in #244 - It's a PR to this PR. If you like it (after any tweaks you wanna make), could you merge it in here and make sure CI passes before merging this? Thanks @jthorton!
Also - do you know if its possible for the keyword to be set incorrectly in the input and then not get passed on to XTB without raising an error? Or do you know a way to test that the keyword was correctly set in tests?
Thanks for adding the test.
With most keywords, if it is misspelt it just won't be set by the wrapper around the program, and errors will only be raised if the value is incorrect in most cases. This is why we tried to build some validation into the With regard to testing this case, it would make sense to check that the output is empty from each single point calculation to confirm the keyword was correct and accepted however the result is currently striped by the worker here to make the results objects smaller. The test does check that the keyword was inserted though which in this case is the best we can do I would say. |
Description
Fixes #238 by adding a program-based keyword generator until we have a general interface to accept keywords.
Todos
Notable points that this PR has either accomplished or will accomplish.
Questions
_get_program_keywords
could add program-specific keywords needed from our experience that are missing from the provided dictionary.Status