freeze.IsFrozen() does not detect frozen sidechains

Case number:699969-2000850
Opened by:zeroblue
Opened on:Monday, June 22, 2015 - 16:17
Last modified:Monday, June 22, 2015 - 16:49

I tested this code on puzzles 1101 and 1103. It detects frozen backbones, but not frozen sidechains.

for i=1,structure.GetCount() do
if freeze.IsFrozen(i) then
print("Seg "..i.." is frozen.")

With these new mutable puzzles, it would be very nice to be able to detect frozen sidechains.

(Mon, 06/22/2015 - 16:17  |  1 comment)

Joined: 04/23/2013
Groups: Go Science
Status: Open » Closed

The function freeze.IsFrozen() returns two booleans, so the correct usage is:

bool1, bool2 = freeze.IsFrozen(i)

Thanks to Sasume for explaining this!


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