Foldit Wiki
Advertisement

structure.DeleteResidue

Function
boolean structure.DeleteResidue(integer segmentIndex)
Description
Delete residue from the structure. Returns whether it succeeds.
V1 Function Name
New to V2

structure.DeleteResidue deletes the segment or residue specified by segmentIndex.

Only certain design puzzles allow segments to be inserted or deleted. Puzzles which do allow deletions typically set a minimum number of segments. The return value for structure.DeleteResidue indicates whether deleting a segment succeeded.

See also structure.InsertResidue.

Advertisement