Table of Contents

Class: MidasUI Midas/midas_ui.py

Class for presenting a Midas command line

Methods   
NoStereo
NoVdwopt
Unimplemented
__init__
activeHandler
allButtonPush
cmdClear
cmdReplace
doAlias
doArglessFunc
doAtomSpecFunc
doCd
doClip
doClose
doCofr
doColor
doColordef
doConic
doCopy
doEcho
doHelp
doKsdssp
doLabel
doLabelopt
doLinewidth
doLoad
doLongbond
doMatch
doMatrixcopy
doModelFunc
doMove
doMsMs
doNeon
doOpen
doPdbrun
doPreneon
doRead
doRepr
doRescolor
doReset
doResrepr
doRibbonjr
doRock
doRoll
doSave
doSavepos
doScale
doSection
doSelect
doSet
doSleep
doSource
doStop
doSurface
doSurfaceCategory
doSurfaceColor
doSurfaceDelete
doSurfaceNew
doSurfaceRepr
doSwapRes
doSystem
doTColor
doTexture
doThickness
doUnalias
doUnclip
doUncolor
doUndistance
doUnsavepos
doUnselect
doUnset
doUnsurface
doVdwDefine
doVdwDensity
doWait
doWindow
doWrite
error
expandAliases
getSpecs
getWriteModel
graphicsKeyboardCB
hide
makeCommand
message
processCommand
processCommandFile
selButtonPush
show
warn
  NoStereo 
NoStereo (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'Stereo must be be enabled at chimera startup ' 'with the --stereo command-line option. ' 'Stereo cannot be turned on and off within chimera. ' 'See the User\'s Guide for further information.'
  NoVdwopt 
NoVdwopt (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, '"vdwopt" is not yet implemented.\n\n' 'However, "vdwopt density" is available as "vdwdensity"\n' 'and "vdwopt define" is available as "vdwdefine".'
  Unimplemented 
Unimplemented (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, '"%s" is not yet implemented' %( cmdName )
  __init__ 
__init__ ( self )

  activeHandler 
activeHandler (
        self,
        triggerName,
        myData,
        trigData,
        )

  allButtonPush 
allButtonPush ( self )

  cmdClear 
cmdClear ( self,  event=None )

  cmdReplace 
cmdReplace ( self,  cmd )

  doAlias 
doAlias (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "No such alias: '%s'" % parts [ 0 ]
  doArglessFunc 
doArglessFunc (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "'%s' function takes no arguments" % cmdName
  doAtomSpecFunc 
doAtomSpecFunc (
        self,
        cmdName,
        args,
        )

  doCd 
doCd (
        self,
        cmdName,
        args,
        )

  doClip 
doClip (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, '"Unit-less" clip not implemented'
IOError, 'clip plane must be "hither" or "yon"'
IOError, 'required clipping plane argument missing'
IOError, 'wait_frames argument not implemented'
  doClose 
doClose (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "argument must be model number or 'all'"
  doCofr 
doCofr (
        self,
        cmdName,
        args,
        )

  doColor 
doColor (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'No color specified'
  doColordef 
doColordef (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "Too few arguments to colordef"
IOError, 'argument must be a color name, RGB, or RGBA value'
  doConic 
doConic (
        self,
        cmdName,
        args,
        )

  doCopy 
doCopy (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "%s keyword not implemented" % argWords [ 0 ]
IOError, "Keyword argument (to '%s') missing" % argWords [ 0 ]
IOError, "Unknown copy keyword '%s'" % argWords [ 0 ]
  doEcho 
doEcho (
        self,
        cmdName,
        args,
        )

  doHelp 
doHelp (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'No help for topic "%s"' % args
  doKsdssp 
doKsdssp (
        self,
        cmdName,
        args,
        )

  doLabel 
doLabel (
        self,
        cmdName,
        args,
        )

  doLabelopt 
doLabelopt (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'unknown option "%s"' % argWords [ 0 ]
IOError, 'unknown value ("%s") for option "info"' % argWords [ 1 ]
  doLinewidth 
doLinewidth (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'No linewidth specified'
IOError, 'width must be numeric'
  doLoad 
doLoad (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'session name missing'
  doLongbond 
doLongbond (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'argument to -l or -r must be numeric'
IOError, 'bad arguments: try "help longbond" for info'
  doMatch 
doMatch (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'an even number of space-separated atom specs are required'
IOError, 'missing atom spec'
  doMatrixcopy 
doMatrixcopy (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'two model numbers required'
  doModelFunc 
doModelFunc (
        self,
        cmdName,
        args,
        )

  doMove 
doMove (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'required distance argument missing'
IOError, 'required motion axis argument missing'
IOError, 'wait_frames argument not implemented'
  doMsMs 
doMsMs (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'missing category name'
IOError, 'unknown msms keyword "%s"' % argWords [ 0 ]
  doNeon 
doNeon (
        self,
        cmdName,
        args,
        )

  doOpen 
doOpen (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'opening surfaces unimplemented'
IOError, 'required file name argument missing'
  doPdbrun 
doPdbrun (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "'mark=' not yet implemented"
IOError, "command to execute missing"
  doPreneon 
doPreneon (
        self,
        cmdName,
        args,
        )

  doRead 
doRead (
        self,
        cmdName,
        args,
        )

  doRepr 
doRepr (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "missing representation argument"
IOError, 'unknown representation type ("%s")' % argWords [ 0 ]
IOError, 'use "~ribbon" to undisplay ribbons'
  doRescolor 
doRescolor (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "Rescolor command removed. Use ribcolor command to set ribbon colors."
  doReset 
doReset (
        self,
        cmdName,
        args,
        )

  doResrepr 
doResrepr (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "Resrepr command removed. Use ribbon command to show ribbons. Use ribrepr command to set ribbon styles."
  doRibbonjr 
doRibbonjr (
        self,
        cmdName,
        args,
        )

  doRock 
doRock (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "axis must be 'x', 'y', or 'z'"
IOError, 'wait_frames argument not implemented'
  doRoll 
doRoll (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'turning bond rotations not implemented'
IOError, 'wait_frames argument not implemented'
  doSave 
doSave (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "must provide savefile name"
  doSavepos 
doSavepos (
        self,
        cmdName,
        args,
        )

  doScale 
doScale (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'required scaling factor argument missing'
IOError, 'wait_frames argument not implemented'
  doSection 
doSection (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'required distance argument missing'
IOError, 'wait_frames argument not implemented'
  doSelect 
doSelect (
        self,
        cmdName,
        args,
        )

  doSet 
doSet (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "No keywords given to 'set' command"
IOError, 'no such "set" variable (or not implemented): %s' % argWords [ 0 ]
IOError, 'no value given for "set %s"' % argWords [ 0 ]
  doSleep 
doSleep (
        self,
        cmdName,
        args,
        )

  doSource 
doSource (
        self,
        cmdName,
        args,
        )

  doStop 
doStop (
        self,
        cmdName,
        args,
        )

Exceptions   
ChimeraSystemExit, 0
  doSurface 
doSurface (
        self,
        cmdName,
        args,
        )

  doSurfaceCategory 
doSurfaceCategory (
        self,
        cmdName,
        args,
        )

  doSurfaceColor 
doSurfaceColor (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'unknown surface color mode ("%s")' % argWords [ 0 ]
  doSurfaceDelete 
doSurfaceDelete (
        self,
        cmdName,
        args,
        )

  doSurfaceNew 
doSurfaceNew (
        self,
        cmdName,
        args,
        )

  doSurfaceRepr 
doSurfaceRepr (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'unknown representation type ("%s")' % argWords [ 0 ]
  doSwapRes 
doSwapRes (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'Usage: swapaa|swapna ' 'new_res_type[,preserve] atomspec'
  doSystem 
doSystem (
        self,
        cmdName,
        args,
        )

  doTColor 
doTColor (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'No texture color specified'
  doTexture 
doTexture (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "Left side of map must be an integer"
IOError, "Too many arguments for texture new command"
IOError, 'No "=" found in assignment string'
IOError, 'unknown texture keyword "%s"' % argWords [ 0 ]
  doThickness 
doThickness (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'clip plane separation reporting not implemented'
IOError, 'wait_frames argument not implemented'
  doUnalias 
doUnalias (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "No such alias ('%s)" % args
  doUnclip 
doUnclip (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'required clipping plane argument missing'
  doUncolor 
doUncolor (
        self,
        cmdName,
        args,
        )

  doUndistance 
doUndistance (
        self,
        cmdName,
        args,
        )

  doUnsavepos 
doUnsavepos (
        self,
        cmdName,
        args,
        )

  doUnselect 
doUnselect (
        self,
        cmdName,
        args,
        )

  doUnset 
doUnset (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "No keywords given to 'set' command"
IOError, 'no such "unset" variable (or not implemented): %s' % argWords [ 0 ]
  doUnsurface 
doUnsurface (
        self,
        cmdName,
        args,
        )

  doVdwDefine 
doVdwDefine (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, 'Usage: ' 'vdwdefine residueType atomName radius [atomSpec]'
  doVdwDensity 
doVdwDensity (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "missing density argument required"
  doWait 
doWait (
        self,
        cmdName,
        args,
        )

  doWindow 
doWindow (
        self,
        cmdName,
        args,
        )

  doWrite 
doWrite (
        self,
        cmdName,
        args,
        )

Exceptions   
IOError, "usage: write [relative m] n filename"
  error 
error ( self,  error )

  expandAliases 
expandAliases ( self,  text )

expand aliases

  getSpecs 
getSpecs (
        self,
        args,
        modelLevel=False,
        )

  getWriteModel 
getWriteModel ( self,  s )

Exceptions   
IOError, "\"%s\" is not a model number" % s
  graphicsKeyboardCB 
graphicsKeyboardCB ( self,  event )

  hide 
hide ( self )

  makeCommand 
makeCommand ( self,  text )

Exceptions   
IOError, 'Unrecognized command: "%s"' % cmd
  message 
message ( self,  msg )

  processCommand 
processCommand ( self,  event )

  processCommandFile 
processCommandFile (
        self,
        filename,
        emulateRead=0,
        )

called by source and read commands

  selButtonPush 
selButtonPush ( self,  which )

  show 
show ( self )

  warn 
warn ( self,  warning )


Table of Contents

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