Setting band strength is limited again

Case number:671071-2005461
Topic:Game: Other
Opened by:Timo van der Laan
Opened on:Tuesday, July 3, 2018 - 13:39
Last modified:Tuesday, July 3, 2018 - 18:10

I noticed that setting the band strength by hand is now limited again to maximum 1.5
A while ago that was changed to 10, which is good because by using scripts you can do that too.

Please reintroduce the setting by hand to maximum 10.

(Tue, 07/03/2018 - 13:39  |  1 comment)

LociOiling's picture
User offline. Last seen 8 hours 38 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders

In the band controls, the numeric length and strength values are now text boxes. In addition to using the slider, you can type in precise values.

For band strength, you can type in a value up to 10. Only the slider is limited to 1.5.

The band length control is similar, in that you can type in a precise strength. The length slider can also be adjusted over the full range, from 0 to 20.

For length, if you enter a negative value, a value of zero is substituted. If you enter a length greater than 20, a value of 20 is substituted.

For strength, any value less than 0.5 is replaced by 0.5. The minimum value on the slider is 0.5. A strength value over 10 is replaced by 10.

Weaker bands can be useful.

So there are really two issues with the band strength control:

* slider maximum is limited to 1.5, should be 10
* slider and text box minimum limited to 0.5, should be 0

Not directly related, but there's also a longstanding issue with the band length control.

The length control sets the band's goal length. The length setting is limited to 20. The actual length of a band can be over 20. The "use current" button sets the goal length to the current length, but only up to 20. There's no way to get a reading for a longer band.

A recipe can set longer goal lengths.

Bands with long goal lengths don't seem very useful, but it would be nice to be able to see the "true" length of a band in the GUI, even if it's over 20.

Code for setting goal length to current length. A goal length over 20 is possible, depending on the current length of the band.

print ( "length = " ..  band.GetLength ( 1 ) )

print ( "goal length = " .. band.GetGoalLength ( 1 ) )

foo =  band.GetLength ( 1 )

band.SetGoalLength ( 1, foo )

print ( "new goal length = " .. band.GetGoalLength ( 1 ) )

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