Back to Recipes Homepage
recipe picture
Recipe: Rav3n_pl GAB v2.0.6
Created by Rav3n_pl 78 1026
Your rating: None Average: 4.7 (219 votes)


Name: Rav3n_pl GAB v2.0.6
ID: 41091
Created on: Fri, 04/27/2012 - 19:13
Updated on: Sat, 02/02/2013 - 13:40

GAB in v2 LUA, now banding to 1st atom of sidechain.

Best For


Joined: 06/17/2010

+ changed random seed to os.time
+ fixed mutable detection
+ added setting for CI on mutate once
+ changed creation list of usable segments
+ changed saving recent best

Joined: 11/05/2010
Groups: None
Recipe responds well until '

Recipe responds well until ' Error in line 405: Bad argument #1 to 'SetStrength' ( band index out of bounds ) ' Haven't got past this point, usually occurs so far in my experience on second generation.

Joined: 11/05/2010
Groups: None
No worries Rav, got it past

No worries Rav, got it past the error. Thanks for all the GREAT!!!! recipes you produce.

Joined: 06/17/2010

Please send me XML form script log when it will crash again. I need retrace it.

Joined: 04/15/2012
Groups: Beta Folders
Wrokss well, and fast. I will

Wrokss well, and fast. I will be top on my list of recipes to use!

Joined: 09/21/2011
Groups: Contenders
same issue as Hanto

I changed it to use the return value from band.AddBetweenSegments() instead of band.GetCount() after seeing another thread on band.AddBetweenSegments() and that seemed to have fixed the problem.

Jobriq's picture
User offline. Last seen 7 years 20 weeks ago. Offline
Joined: 01/20/2012
Groups: Gargleblasters
Different issue

Sometimes it will create a fresh new herd after 4 generations even if there was improvement in the score. I don't know if the previous issue mentioned could possibly cause this.

Jobriq's picture
User offline. Last seen 7 years 20 weeks ago. Offline
Joined: 01/20/2012
Groups: Gargleblasters

I think it may happens if there is no improvement specifically on the 4th generation rather than over all 4 generations.

Joined: 08/24/2011
nope that's always, because

nope that's always, because of an error on line 541

if genScore<=Score()

should in fact be the reverse, ie:

if genScore>=Score() 
Joined: 06/17/2010

* changed min bands to 3
* bugfix preventing from script crash if band is not created

bob1928's picture
User offline. Last seen 2 years 39 weeks ago. Offline
Joined: 12/16/2012
Groups: Gargleblasters
SetStrength Error

I was getting the same or very similar error creating random bands.

"Bad argument #1 to 'SetStrength' ( band index out of bounds )"

I traced it to the band not being created when end1 and end2 were 2 or less segments apart. So nil band number is out of bounds. My fix was to test and redraw random seg-number in a while loop if they were too close together.

Looks like you've fixed it already but my 2 cents for future FYI.


Joined: 09/24/2012
Groups: Go Science
Filtered version

Here a filtered version. rav3npl, please feel free to take it back for your further version.

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.



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, RosettaCommons