Class for presenting a Midas command line
Methods
|
|
|
|
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,
)
|
|
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,
)
|
|
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,
)
|
|
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,
)
|
|
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, 'two separate atom specs required'
|
|
|
doMatrixcopy
|
doMatrixcopy (
self,
cmdName,
args,
)
|
|
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,
)
|
|
doRepr
|
doRepr (
self,
cmdName,
args,
)
Exceptions
|
|
IOError, "missing representation argument"
IOError, 'unknown representation type ("%s")' % argWords [ 0 ]
|
|
|
doReset
|
doReset (
self,
cmdName,
args,
)
|
|
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,
)
|
|
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,
)
Exceptions
|
|
IOError, 'multiple source files not supported'
|
|
|
doStop
|
doStop (
self,
cmdName,
args,
)
|
|
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,
)
|
|
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,
)
|
|
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=0,
)
|
|
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, eventOrString )
|
|
selButtonPush
|
selButtonPush ( self, which )
|
|
show
|
show ( self )
|
|
sourceCallback
|
sourceCallback ( self, filename )
called by Midas module's source function
|
|
warn
|
warn ( self, warning )
|
|