filter.GetData ( "Buried Unsats" ) does not return any BUNs

Case number:845813-2012612
Topic:Game: Tools
Opened by:LociOiling
Status:Open
Type:Bug
Opened on:Saturday, January 8, 2022 - 20:28
Last modified:Saturday, January 15, 2022 - 19:27

The GetData function for BUNs always returns an empty table.

The sample code below demonstrates the problem.

 bunz = filter.GetData ( "Buried Unsats" )
 print ( "filter.GetData type = " .. type ( bunz ) )
 print ( #bunz .. " buried unsats found" )
(Sat, 01/08/2022 - 20:28  |  2 comments)


joshmiller's picture
User offline. Last seen 1 day 3 hours ago. Offline
Joined: 09/08/2017
Groups: Foldit Staff

Thanks for the report Loci, I will look into this.

joshmiller's picture
User offline. Last seen 1 day 3 hours ago. Offline
Joined: 09/08/2017
Groups: Foldit Staff

Hi Loci,

I've looked into this and the code is functional but the documentation is a bit sparse. I've uploaded a working recipe at https://fold.it/portal/recipe/105586 to demonstrate usage. At some point in the future I can probably update the documentation to better explain the table's contents.

Thanks,
Josh

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