model.loops() — return a list of all loops

loops(aln, minlength, maxlength, insertion_ext, deletion_ext, include_termini=True)
This returns a list of all loops, by calling model.get_insertions() and model.get_deletions().

If include_termini is False, any residue range that includes a chain terminus is excluded from the output.
Example: See selection() command.



Automatic builds 2017-07-19