|
deleteRemoveHandler
|
deleteRemoveHandler ( self, handler )
|
|
list
|
list (
self,
id=None,
subid=None,
modelTypes=None,
hidden=None,
all=None,
)
|
|
runCommand
|
runCommand ( *args, *kw )
convenience for programming...
|
|
addAddHandler
|
addAddHandler (
self,
func,
data,
)
|
|
registerPostGraphicsFunc
|
registerPostGraphicsFunc ( func )
|
|
close
|
close (
self,
models,
checkForChanges=None,
)
|
|
makeLongBondsDashed
|
makeLongBondsDashed ( models )
|
|
open
|
open (
self,
filename,
type=None,
baseId=None,
subid=None,
sameAs=None,
shareXform=None,
hidden=None,
defaultType=None,
prefixableType=None,
checkForChanges=None,
noprefs=None,
*args,
*kw,
)
Exceptions
|
|
ValueError, "unknown default type"
UserError( "Compressed %s files are not handled automatically.\n" "You need to decompress such files manually before using them." % type )
ValueError, "Unknown model type"
|
|
|
findfile
|
findfile ( filename, category=None )
Exceptions
|
|
IOError( errno.ENOENT, os.strerror( errno.ENOENT ), filename )
|
|
|
testDrawMode
|
testDrawMode (
e,
op,
value,
)
add draw mode testing capability to OSL
|
|
categorizeSurface
|
categorizeSurface ( *args )
|
|
makePseudoBondsToMetals
|
makePseudoBondsToMetals ( models )
|
|
testElement
|
testElement (
e,
op,
value,
)
add element testing capability to OSL
Exceptions
|
|
SyntaxError, 'comma not allowed in element name'
|
|
|
add
|
add (
self,
models,
baseId=None,
subid=None,
sameAs=None,
shareXform=None,
hidden=None,
checkForChanges=None,
)
|
|
registerOSLTests
|
registerOSLTests ()
|
|
deleteAddHandler
|
deleteAddHandler ( self, handler )
|
|
makePythonAtomsBondsResidues
|
makePythonAtomsBondsResidues ( models )
|
|
testColor
|
testColor (
c,
op,
s,
)
import oslParser
add color testing capability to OSL
Exceptions
|
|
SyntaxError( "RGBA values must be floating point" )
SyntaxError( "RGBA can be at most 4 numbers" )
|
|
|
addOpenFinishedHandler
|
addOpenFinishedHandler (
self,
func,
data,
)
|
|
addRemoveHandler
|
addRemoveHandler (
self,
func,
data,
)
|
|
addModelClosedCallback
|
addModelClosedCallback ( model, callback )
|
|
closeAllModels
|
closeAllModels (
self,
trigger=None,
closure=None,
triggerData=None,
)
close non-hidden models first, so that "internal chain"
pseudobond groups can get removed by callbacks from
the C++ layer. Then close all remaining models. also, delay closure to the end of APPQUIT triggers, so that
other modules have opportunity to de-register from model-
closing triggers via APPQUIT
|
|
selectionOperation
|
selectionOperation ( sel )
|
|
checkKsdssp
|
checkKsdssp (
trigName,
myData,
models,
)
|
|
countAtomsAndResidues
|
countAtomsAndResidues ( models )
|
|
closeSession
|
closeSession ()
|
|
remove
|
remove ( self, models )
|
|
systemPDBdir
|
systemPDBdir ()
|
|
initializeGraphics
|
initializeGraphics ()
|
|
oslLevel
|
oslLevel ( obj )
|
|
delOpenFinishedHandler
|
delOpenFinishedHandler ( self, handler )
|
|