Package pyraf :: Module iraftask :: Class IrafCLTask
[hide private]
[frames] | no frames]

Class IrafCLTask

source code


IRAF CL task class

Instance Methods [hide private]
 
__init__(self, prefix, name, suffix, filename, pkgname, pkgbinary) source code
 
getCode(self)
Return a string with the Python code for this task
source code
 
reCompile(self)
Force recompilation of CL code
source code
 
initTask(self, force=0, filehandle=None)
Fill in full pathnames of files, read par file, compile CL code
source code
 
__getstate__(self)
Return state for pickling
source code
 
_applyRedir(self, redirKW)
Apply I/O redirection
source code
 
_run(self, redirKW, specialKW)
Execute task after parameters, I/O redirection are prepared.
source code
 
_runCode(self, parList=None, kw={})
Run the procedure with current parameters
source code
 
_noParFile(self)
Decide what to do if .par file is not found
source code
 
_isConsistentPar(self)
Check current par list and default par list for consistency
source code

Inherited from IrafTask: __call__, __getattr__, __repr__, __setattr__, __str__, addPkgbinary, dParam, eParam, getAllMatches, getDefaultParList, getFilename, getForeign, getFullpath, getMode, getName, getParDict, getParList, getParObject, getParam, getParpath, getPkgbinary, getPkgname, getTbflag, hasParfile, isConsistent, isHidden, is_pseudo, lParam, run, saveParList, scrunchName, setHidden, setParList, setParam, tParam, unlearn

Inherited from stsci.tools.taskpars.TaskPars: canPerformValidation, getHelpAsString, knowAsNative

Method Details [hide private]

__init__(self, prefix, name, suffix, filename, pkgname, pkgbinary)
(Constructor)

source code 
Overrides: IrafTask.__init__

initTask(self, force=0, filehandle=None)

source code 

Fill in full pathnames of files, read par file, compile CL code

If filehandle is specified, reads CL code from there

Overrides: IrafTask.initTask

_applyRedir(self, redirKW)

source code 

Apply I/O redirection

Overrides: IrafTask._applyRedir

_run(self, redirKW, specialKW)

source code 

Execute task after parameters, I/O redirection are prepared.

Overrides: IrafTask._run

_noParFile(self)

source code 

Decide what to do if .par file is not found

Overrides: IrafTask._noParFile

_isConsistentPar(self)

source code 

Check current par list and default par list for consistency

Overrides: IrafTask._isConsistentPar