Package schrodinger :: Package application :: Package glide :: Package packages :: Module startup :: Class GlideStartup
[hide private]
[frames] | no frames]

Class GlideStartup

object --+
         |
        GlideStartup

This class implements the overall, high-level logic of the startup script. Note that the launching workflow implemented with this class may be interactive!

Instance Methods [hide private]
 
__init__(self, options=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
run(self)
Launch the job and return an exit code.
 
writeInput(self)
 
checkRestartAndOverwriteOptions(self, launcher)
If it looks like the job has been previously run, check if -RESTART or -OVERWRITE have been specified, and if not prompt and adjust self.options accordingly.
 
promptForRestartOrOverwrite(self, can_restart)
Ask whether to restart, overwrite, or abort.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, options=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

run(self)

 

Launch the job and return an exit code. May prompt the user to confirm whether to restart or overwrite a previous run.

checkRestartAndOverwriteOptions(self, launcher)

 

If it looks like the job has been previously run, check if -RESTART or -OVERWRITE have been specified, and if not prompt and adjust self.options accordingly. Returns True if the user wishes to proceed, False to abort.

promptForRestartOrOverwrite(self, can_restart)

 

Ask whether to restart, overwrite, or abort. Return True to continue, False to abort. May modify self.options as a side effect.