-
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
Package tools for MM calculations with CP2K #150
Conversation
* Should fix the Sphinx version issue with readthedocs.io
…ere not properly parsed
* Added the ``"cp2k_mm"`` section to all templates except ``ts``. * Changed the indentation from 2- to 4-spaces.
* Moved ``Package.prerun()`` further up. * Set ``Package.results`` to ``None`` if the unpickling process fails. This ensures that getting its value will always return either ``None`` or a ``plams.Results`` instance.
* Cleaned up the documentation * Removed the redundant molkit documentation * Added a hidden package for Package documentation
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.
I like the changes 👍 Also, in general I think it would be a better idea to make shorter PR because it becomes difficult to follow so many changes.
I have left some comments/question
@@ -45,6 +44,7 @@ def _get_result(promised_object: PromisedObject, job: Type[Job]) -> Result: | |||
|
|||
|
|||
@pytest.mark.slow | |||
@delete_output |
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.
It simplifies a lot the testing code, great!
Yeah, I'll try to keep em a little bit more "compact" next time... |
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.
great work!
See #148.
An example of the new
cp2k_mm
workflow is provided in the issue above.Major
list
with >2 elements.CP2KMM
Packages subclass and the matchingcp2k_mm
instance."prm"
(.prm file),"psf"
(.psf file) and all the keys inqmflows.cp2k_utils.CP2K_KEYS_ALIAS
(CP2K forcefield parameters)."periodic"
generic keyword toCP2K
andCP2KMM
."cp2k_mm"
templates.Minor
Package.prerun()
andPacakge.postrun()
.test
dependency: nlesc-nano/AssertionLib.__version__.py
to./src/qmflows
.setup.cfg
.test_utils
module with utilities for testing QMFlows.