[IMP-users] save values of RestraintsScoringFunction to RMF
To: Help and discussion for users of IMP <>
Subject: [IMP-users] save values of RestraintsScoringFunction to RMF
From: Jan Kosinski <>
Date: Tue, 21 Jun 2016 15:23:36 +0200
Hi,
Is it possible to save the total score to the RMF file with
IMP.rmf.SaveOptimizerState?
Basically, I am saving a Monte Carlo trajectory with restraints like this:
rmf = RMF.create_rmf_file('out.rmf')
IMP.rmf.add_hierarchy(rmf, hierarchy)
IMP.rmf.add_restraints(rmf, restraints)
opt_state = IMP.rmf.SaveOptimizerState(model, rmf)
opt_state.update_always("initial conformation")
opt_state.set_period(10)