Developer Preview Release Soon!

Hey everyone,

We're about to release an update for the developer preview with the following fixes and features:

Release Notes:
* Modified Lua function structure.IsLocked to also report whether the sidechain is locked
* Pressing left/right with a single residue selected will now cycle rotamers
* Pressing ctrl + left/right with the Residue Info panel open will now cycle which residue is shown in the info panel
* Added Lua function GetABEGOColor() which takes a residue number and returns its ABEGO color as a letter
* Added Lua function GetABEGOColorAll() which returns a table of residue numbers mapping to their ABEGO color as a letter
* Added Lua function recipe.GetInfo which returns the recipe's name and ID

Bug Fixes:
* Fixes to translation strings

(Fri, 10/29/2021 - 01:39  |  1 comment)
LociOiling's picture
User offline. Last seen 3 hours 38 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders
recipe.GetInfo

The new recipe function is actually recipe.GetMetadata(), and it looks like this:

name, ID = recipe.GetMetadata ()

Name is the name of the recipe in the cookbook.

If the recipe hasn't been saved, name is an empty string.

Likewise, ID is the recipe number, or 0 if the recipe hasn't been saved.

User login
Download links:
  Windows    OSX    Linux  
Windows
(7/8/10)
OSX
(10.12 or later)
Linux
(64-bit)

Are you new to Foldit? Click here.

Are you a student? Click here.

Are you an educator? Click here.
Social Media


Search
Only search fold.it
Other Games: Mozak
Recommend Foldit
Topics
Top New Users
Sitemap

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