structure.SetNote Edit

Function: void structure.SetNote(integer segmentIndex, string note)
Description: Sets the note assigned to a segment.
V1 Function Name: New to V2

Remarks Edit

Sample Edit

Code that add remarks for glycyne and cysterine

for i=1,structure.GetCount() do
  local aaType=structure.GetAminoAcid(i)
  if  aaType=="g" then
    structure.SetNote(i, "Gly: very flexible")
    if aaType=="c" then
      structure.SetNote(i, "Cys: like to be hidden inside, can ceate bonds to other Cys")

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.