This works with Python 3.4.4 and OpenMM 6.3.1 through Anaconda 2.3
Code: Select all
with open(checkpoint_file, 'rb') as f:
simulation.context.loadCheckpoint(f.read().decode('utf8', 'ignore'))
Code: Select all
with open(checkpoint_file, 'rb') as f:
simulation.context.loadCheckpoint(f.read().decode('utf8', 'ignore'))