Lua secondaryStructure: add "A" (auto)
|Opened by:||Bruno Kestemont|
|Opened on:||Wednesday, October 26, 2016 - 16:01|
|Last modified:||Tuesday, July 9, 2019 - 07:36|
In order to implement the following idea http://fold.it/portal/node/2002996 (recognizing ideal loops), it would be nice to have an "auto" argument for SetSecondaryStructure.
structure.SetSecondaryStructure(integer segmentIndex, string secondaryStructure)
secondaryStructure= "L", "S", "H", "M"
Add: "A" for Auto (set by Foldit)
OR add a command:
structure.GetSecondaryStructure(integer segmentIndex, [boolean auto])
if boolean auto == nil or false: returns current SS
if boolean auto == true: returns auto expected SS
Reason: currently, with player's SS, Susume's idea doesn't work if a player's loop is not recognized as loop by Foldit.