New recipe function to return the sum of the lengths of user-input bands.

Case number:845813-988304
Topic:Game: Tools
Opened by:prot-bustr
Opened on:Friday, August 20, 2010 - 14:44
Last modified:Tuesday, July 24, 2012 - 19:53

If a user enters their own bands, for example, to try and match a fold to a guide, at present there is no way for a script to keep track of the lengths of those bands. It could be useful if a rebuild script were to choose rebuilds, so that after wiggling, say, the total length of bands is reduced, so the fold better matches the guide.

(Fri, 08/20/2010 - 14:44  |  4 comments)

Tlaloc's picture
User offline. Last seen 9 weeks 2 days ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'

There is no point of keeping track of the length of all the bands. However a get_band_length() function would be a useful in many places. Then a loop could be done to sum up the lengths of all the bands to accomplish what prot-bustr suggests.

Joined: 09/18/2009
Groups: SETI.Germany

A get_band_strength()-function would also be useful.

At the moment, we can't get any data of user-applied bands, only how many there are.

If we want change bands later, we have to generate them by script and store all values "manually" at the point when they are generated, using many variables, although the game itself already "knows" which bands there are and what their properties are like.
This is cumbersome.

Joined: 08/06/2010
Groups: None

This sounds good.

Joined: 06/17/2010
Status: Open » Closed

Done in V2 lua.


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