Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add error code to default prepare
  • Loading branch information
dwhswenson committed Aug 8, 2022
commit d59bb7609ea470171134ae03e729210e7f20a046
7 changes: 6 additions & 1 deletion openpathsampling/engines/external_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,13 @@ def who_to_kill(self):
def prepare(self):
"""
Any preparation between writing snapshot and running command

Returns
-------
int :
Error code. Return 0 on success, nonzero on any error.
"""
pass
return 0

def cleanup(self):
"""Any cleanup actions to do after the subprocess dies."""
Expand Down