Restraints.condense() — remove unselected or redundant restraints

condense()
This command permanently removes all the unselected or redundant restraints from memory. This is exactly the same as calling Restraints.unpick_redundant() followed by Restraints.remove_unpicked().
Example: See Model.read() command.