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)