Back to Mover page.

RemoveConstraints Mover

Removes a set of constraints generated by a constraint generator from the pose. The constraint generator must have been previously defined in an AddConstraintsMover.

<RemoveConstraints name="(&string)" constraint_generators="(&string)" />

constraint_generators - Comma-seperated list of the constraint generators which created the constraints to be removed. The constraint generators must have been defined previously in an AddConstraints mover.

Example

This example generates coordinate constraints for all sheet residues, adds them to the pose, and then removes them.

<RESIDUE_SELECTORS>
    <SecondaryStructureSelector name="sheet" ss="E" use_dssp="1" />
</RESIDUE_SELECTORS>
<MOVERS>
    <AddConstraints name="add_coord_csts" >
        <CoordinateConstraintGenerator name="coord_cst_gen" residue_selector="sheet" />
    </AddConstraints>
    <RemoveConstraints name="rm_coord_csts" constraint_generators="coord_cst_gen" />
</MOVERS>
<PROTOCOLS>
    <Add mover="add_coord_csts" />
    <!-- do things with constraints in pose -->
    <Add mover="rm_coord_csts" />
</PROTOCOLS>

See Also