Table of Contents

Module: base PBReader/base.py

Imported modules   
import chimera
from chimera import selection, replyobj
from chimera.colorTable import colors, getColorByName
import string
Functions   
readPBinfo
  readPBinfo 
readPBinfo (
        fileName,
        category=None,
        clearCategory=1,
        lineWidth=None,
        drawMode=None,
        leftModel=None,
        rightModel=None,
        defColor=None,
        )

read a file containing pseudobond info and display those bonds

category defaults to fileName. clearCategory controls whether the pseudobond group should be cleared of pre-existing pseudobonds before reading the file. lineWidth is a floating- point number and controls the width of lines used to draw the pseudobonds. This only is relevant if drawMode is Wire. drawMode controls the depiction style of the pseudobonds. Possible modes are:

Wire (aka chimera.Bond_Wire)

wireframe Stick (aka chimera.Bond_Stick) -- sticks

leftModel and rightModel control what models the endpoints of the pseudobond lie in, if none are specified in the input file. defColor is the color assigned to the pseudobond group as a whole, which can be overridden by specific pseudobonds.


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:32 2003 by HappyDoc version 2.1