Rosetta 3.3
Public Member Functions | Static Public Attributes
PyMOLPyRosettaServer::PR_PyMOLServer Class Reference
Collaboration diagram for PyMOLPyRosettaServer::PR_PyMOLServer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def color_model
def processPacket

Static Public Attributes

tuple data = bz2.decompress(data)
tuple size = int(data[0])
list data = data[1:]
list dat = data[i+6:i+6+size]
string sel = '%s and chain %s and resi %s'
string color = 'blue'
string bb = '(name N or name CA or name C or name O)'
tuple njump = int(data[:2])
int scale = 1
list jumps = []
string connect = 'red'
tuple connect = str(25+int(data[i]))
string jumpsall = 'None'
int r = 3
int th = 2
tuple cylx = r*math.cos(th)
tuple cyly = r*math.sin(th)
tuple start = (jumps[j-1][0]-1)
tuple stop = (jumps[j-1][1]-1)
tuple cut = (jumps[j-1][2]-1)
string jump = 'jump_'
list nhbonds = data[:5]
int c = 22
list acc_res = data[c:c+5]
list acc_chain = data[c+5]
list acc_name = data[c+6:c+10]
list don_res = data[c+10:c+15]
list don_chain = data[c+15]
list don_name = data[c+16:c+20]
string hbname = 'hb_'
list options = data[:21]
list connect = options[:7]
tuple scale = bool(int(options[7:8]))
list axis_color = options[8:15]
tuple num = int(options[15:])
list x_array = [0]
list y_array = [0]
list z_array = [0]

Member Function Documentation

def PyMOLPyRosettaServer::PR_PyMOLServer::color_model (   self,
  name,
  etype,
  s 
)
def PyMOLPyRosettaServer::PR_PyMOLServer::processPacket (   self,
  msg 
)
Format description:
    bytes 0:8   - packet type
    byte  8     - flags
    byte  9     - len(name)
    bytes 10:... - name
    bytes ...:... - mesage its self

Member Data Documentation

string PyMOLPyRosettaServer::PR_PyMOLServer::bb = '(name N or name CA or name C or name O)' [static]
tuple PyMOLPyRosettaServer::PR_PyMOLServer::cut = (jumps[j-1][2]-1) [static]
tuple PyMOLPyRosettaServer::PR_PyMOLServer::cylx = r*math.cos(th) [static]
tuple PyMOLPyRosettaServer::PR_PyMOLServer::cyly = r*math.sin(th) [static]
list PyMOLPyRosettaServer::PR_PyMOLServer::data = bz2.decompress(data) [static]
string PyMOLPyRosettaServer::PR_PyMOLServer::jump = 'jump_' [static]
string PyMOLPyRosettaServer::PR_PyMOLServer::sel = '%s and chain %s and resi %s' [static]
tuple PyMOLPyRosettaServer::PR_PyMOLServer::start = (jumps[j-1][0]-1) [static]
tuple PyMOLPyRosettaServer::PR_PyMOLServer::stop = (jumps[j-1][1]-1) [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines