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

gmxapi-62 Stop condition hook (work in progress) #18

Open
wants to merge 5 commits into
base: devel
Choose a base branch
from

Conversation

eirrgang
Copy link
Collaborator

This should be how the client code will need to be updated to use the
automatically provided stop signaller, but the gmxapi side isn't done
yet.

This should be how the client code will need to be updated to use the
automatically provided stop signaller, but the gmxapi side isn't done
yet.
Builds against the corresponding commit for gromacs-gmxapi.
Needs testing.
@eirrgang eirrgang requested a review from jmhays May 18, 2018 20:19
Test some invariants. Update some docs / comments.
This is mostly what the updates for modular stop condition code will
look like in the short term. There will be another update to specify
the name of the output to be bound. The code should be effective as
a model and should build against the corresponding commit in
gromacs-gmxapi, but the newly described facility will not yet have an
effect.
Add some checks for initialized objects. Note that an uninitialized
py::object apparently has a sensible implicit bool conversion that we
can use.

To do: we need to make sure to provide some warning or stronger error
if we don't find the subscribers we are expecting. Right now, we will
just silently attach a no-op to the workflow in some circumstances.
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

Successfully merging this pull request may close these issues.

1 participant