/ . / DBPuppet / std_webdata.py / std_webdata
Methods
|
|
|
open_in_chimera
|
open_in_chimera (
self,
web_files,
pdb_ids,
all_cmds,
)
web_files is a list of files that were dloaded from web, pdb_ids is
a list of pdb ids, mid_cmds is a list of midas commands
Exceptions
|
|
chimera.UserError("Error while opening model with PDB id '%s': %s" %( p, what ) )
chimera.ChimeraSystemExit, v
SystemExit
|
|
|
warnIfNeeded
|
warnIfNeeded (
self,
web_files,
all_cmds,
)
|
|
warnUser
|
warnUser ( self, warn_text )
|
|
cleanUpDloaded
|
cleanUpDloaded ( self, dload )
|
|
handle_file
|
handle_file ( self, file_loc )
this function is called from DBPuppet::__init__.py.
file_loc is either an open file handle, or a string specifying
the location of the file.
Exceptions
|
|
chimera.UserError, "Couldn't find url '%s': %s" %( url, what )
chimera.UserError, "Invalid credentials to access url '%s'" % url
|
|
|
parse_file_sax
|
parse_file_sax ( self, infile )
expects an open file as infile
this function takes care of closing the handle
|
|
__init__
|
__init__ ( self )
|
|
|