Centroid devprev test puzzle bugs

Started by Bletchley Park

brow42 Lv 1

Puzzle comments (just from poking around, haven't played it yet):

All segments have 1 rotamer, except histidine, which has 2. This seems strange.

All segments have 7 atoms (except proline, which is missing the usual hydrogen). 5 and 6 are both sidechain atoms. Both are bandable by scripts, and presumably, both are bandable by hand as well. Perhaps 5 is close to the backbone and 6 is far away (and big)? Banding by hand might be unreliable, maybe you sometimes band to 5 and sometimes to 6?

Scripting comments:

Devs should make shake and wiggle sidechains return immediately, so that scripts do not have to be modified to skip these time-consuming steps.

Devs should provide a function to indicate centroid mode so that scripts can be modified. Should be in behavior or puzzle depending on whether users will be able to turn this on and off within a puzzle or not.

Most of the score parts are gone. Scripts like DRW should be modified to check which score parts actually exist (disulfide being an exception). I know Timo checks for Other part, but now he has to check for all the others.

Script workaround:

This will check for centroid and turn off sidechain shake and wiggle for Lua2. Lua1 code would be similar.

function IsCentroid()
return tostring(current.GetSegmentEnergySubscore(1,'sidechain')) == '-0'
end
function DisableSidechains()
local function null(i) return end
local function ReplaceWiggle(Wiggle)
return function(i,a,b) if a ~= false then Wiggle(i,true,false) end end
end
structure.ShakeSidechainsAll = null
structure.ShakeSidechainsSelected = null
structure.LocalWiggleAll = ReplaceWiggle(structure.LocalWiggleAll)
structure.LocalWiggleSelected = ReplaceWiggle(structure.LocalWiggleSelected)
structure.WiggleAll = ReplaceWiggle(structure.WiggleAll)
structure.WiggleSelected = ReplaceWiggle(structure.WiggleSelected)
end

if IsCentroid() then DisableSidechains() end

brow42 Lv 1

I have seen this, but only with weak bands. Using Rav3n Compress 2.2.1, bands progress from 0.3 by 0.7…protein does not budge until .44.

Bletchley Park Lv 1

And what does it do as soon as the bands are removed ? I have not seen wiggle produce any movement without bands in this client on this type of puzzle.

tamirh Lv 1

I've fixed this bug, it should go out in the next version. Assigning this feedback to Seth so he can look at the other issues.

tamirh Lv 1

These buttons should be disabled in centroid mode: Shake, Mutate, Wiggle Backbone, and Wiggle Sidechains.

They weren't all disabled in the selection interface. We've fixed that for the next version so it isn't confusing.