structure.GetSecondaryStructure Edit

string structure.GetSecondaryStructure(integer segmentIndex)
Get segment secondary structure type.
V1 Function Name

structure.GetSecondaryStructure returns the following secondary structure codes:

code type
H helix
E sheet
L loop
M ligand

The "M" code can be remembered as "M for molecule".

In the past, some puzzles reported an underscore ("_") for ligand segments.

RNA and DNA may also be present in Foldit puzzles, but they can't be identified using structure.GetSecondaryStructure, which always reports RNA and DNA as "helix". The function structure.GetAminoAcid returns two-character codes beginning with "r" for RNA, and "d" for DNA.

Example Edit
