Developer Preview Release Soon

Hey all,

We're about to release an update to the developer preview with some small fixes and changes.

* Added a function GetSymCount - Return the number of symmetry copies. 0 if there are no copies.
* The AddBetweenSegments function has changed to account for symmetric bands:
- (integer segmentIndex1, integer segmentIndex2, [integer atomIndex1], [integer atomIndex2], [integer symnr2])
- Add a band between the two segments. By default bands to the backbone. Specify an atom number from 0 to structure.GetAtomCount() to band to a different atom. (0 for the default backbone atom) Returns band number. Specify an symnr from 0 to structure.GetSymCount() to band to segmentIndex2 of a symmetric copy. Thanks to Timo for these changes!

* Fixed a problem with the linux version using too new of a glibc, causing it to not work on older machines.
* Fixed various threading issues that may have been causing crashes.

(Mon, 10/21/2019 - 21:39  |  8 comments)
LociOiling's picture
User offline. Last seen 38 min 25 sec ago. Offline
Joined: 12/27/2012
missing a few things

The new function structure.GetSymCount and the new version of band.AddBetweenSegments seem to be missing.

structure.GetSymCount and new band.AddBetweenSegments missing

Joined: 05/19/2009
Groups: Contenders
Where are all these functions documented ?

I recall having seen some functions in the Wiki some time ago, but is the Wiki the official place where all functions are documented ?

LociOiling's picture
User offline. Last seen 38 min 25 sec ago. Offline
Joined: 12/27/2012
the wiki has a complete list

See Foldit Lua Functions for the complete list.

That page is generated from the output of the help() command, and links to detail pages for many of the functions. The list has *not* been updated for the new release yet.

Nothing official about this, I believe tlaloc created the original version of the list.

Foldit Lua Functions List Generation details the process. The current process relies on a couple of standalone Lua programs which are published as Foldit recipes. Since the recipes do their own file I/O, they must be run in Lua outside of Foldit.

Joined: 05/19/2009
Groups: Contenders
Thank you

Thank you Loci !

spvincent's picture
User offline. Last seen 2 hours 6 min ago. Offline
Joined: 12/07/2007
Groups: Contenders
Will structure.GetDistance()

Will structure.GetDistance() be updated too?

jflat06's picture
User offline. Last seen 5 days 21 hours ago. Offline
Joined: 09/29/2010
Groups: Window Group
Hotfix 10/29

Hey all, some of the changes didn't make their way into mac/pc because of some version control issues.

The lua functions should be available on all platforms now!

Additionally, the linux version got an update to fix some persistent crashes.

User login
Download links:
  Windows    OSX    Linux  
(10.12 or later)

Are you new to Foldit? Click here.

Are you a student? Click here.

Are you an educator? Click here.
Social Media

Only search
Other Games: Mozak
Recommend Foldit
Top New Users

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons