From 8cbbde4df6c4f2e57c193563146f8c55b3417548 Mon Sep 17 00:00:00 2001 From: Ben Webb <ben@salilab.org> Date: Fri, 17 Apr 2020 09:48:25 -0700 Subject: [PATCH] Match latest PMI ProtocolOutput interface PMI's ProtocolOutput class dropped support for PMI1, so update to match the new API. --- pyext/src/restraint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyext/src/restraint.py b/pyext/src/restraint.py index 02e1a18..5a0b343 100755 --- a/pyext/src/restraint.py +++ b/pyext/src/restraint.py @@ -119,7 +119,7 @@ class GaussianEMRestraintWrapper(object): ms=IMP.atom.Mass(p).get_mass() IMP.atom.Mass(p).set_mass(ms*scale) - for p, state in IMP.pmi.tools._all_protocol_outputs([], densities[0]): + for p, state in IMP.pmi.tools._all_protocol_outputs(densities[0]): p.add_em3d_restraint(state, self.target_ps, self.densities, self) # setup model GMM -- GitLab