LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Static Public Member Functions | List of all members
lsst.pipe.tasks.makeSkyMap.MakeSkyMapRunner Class Reference
Inheritance diagram for lsst.pipe.tasks.makeSkyMap.MakeSkyMapRunner:

Public Member Functions

def precall
 
def __call__
 

Static Public Member Functions

def getTargetList
 

Detailed Description

Only need a single butler instance to run on.

Definition at line 51 of file makeSkyMap.py.

Member Function Documentation

def lsst.pipe.tasks.makeSkyMap.MakeSkyMapRunner.__call__ (   self,
  butler 
)

Definition at line 64 of file makeSkyMap.py.

64 
65  def __call__(self, butler):
66  task = self.TaskClass(config=self.config, log=self.log)
67  if self.doRaise:
68  results = task.run(butler)
69  else:
70  try:
71  results = task.run(butler)
72  except Exception, e:
73  task.log.fatal("Failed: %s" % e)
74  if not isinstance(e, pipeBase.TaskError):
75  traceback.print_exc(file=sys.stderr)
76  task.writeMetadata(butler)
77  if self.doReturnResults:
78  return results
def lsst.pipe.tasks.makeSkyMap.MakeSkyMapRunner.getTargetList (   parsedCmd)
static

Definition at line 54 of file makeSkyMap.py.

54 
55  def getTargetList(parsedCmd):
56  return [parsedCmd.butler]
def lsst.pipe.tasks.makeSkyMap.MakeSkyMapRunner.precall (   self,
  parsedCmd 
)

Definition at line 57 of file makeSkyMap.py.

57 
58  def precall(self, parsedCmd):
59  # We overload to disable writing/checking of schemas and configs.
60  # There's only one SkyMap per rerun anyway, so the config is redundant,
61  # and checking it means we can't overwrite or append to one once we've
62  # written it.
63  return True

The documentation for this class was generated from the following file: