Package wsatools :: Module ProgrammeBuilder :: Class Status
[hide private]

Class Status

source code


This translates schema template grammar into a current status

Instance Methods [hide private]
 
__init__(self, cu, progIDs, synSetup)
Initialise status from current CuSession task.
source code
 
complexSub(self, line) source code
 
setNeighbours(self) source code
 
update(self, line) source code
 
isProgMatch(self) source code
 
parseString(self, line) source code
 
getAllTables(self, tableDict) source code
 
initialise(self, dictType, tableStruct)
Initialise dictionary of filter or colour info
source code
 
stripAddCols(self, addColInfo)
Parses a string with additional colour info and edits colour group accordingly.
source code
 
testColours(self, colList)
Tests whether filters that make up colours are available for this programme.
source code

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

Class Variables [hide private]
  actionDict = {'++': 'start', '+-': 'startNot', '=-': 'finishNo...
  methodDict = {'b': 'cycleThroughBorders', 'c': 'cycleThroughCo...
  colourGroups = None
hash(x)
  filterGroups = None
hash(x)
  borderGroups = None
hash(x)
  progGroups = None
hash(x)
  splitTables = None
hash(x)
  useProgSP = True
  useProgSX = True
  useProgHL = True
  useProgSY = True
  useProgSR = True
  useProgFO = True
  checkSpecNeigh = None
hash(x)
  writeLine = True
  dropTables = False
hash(x)
  filters = None
hash(x)
  colours = None
hash(x)
  borders = None
hash(x)
  useColours = False
hash(x)
  useFilters = False
hash(x)
  useBorders = False
hash(x)
  tableOrder = [('main', True)]
  neighView = None
hash(x)
  neighs = None
hash(x)
  useNeighs = False
hash(x)
  lastIndex = None
hash(x)
  maxIndex = None
hash(x)
  progIndex = None
hash(x)
  archive = None
DbSession connection to database.
  programme = None
DataFactory.ProgrammeTable set to the current programme.
  sysc = None
SystemConstants initialised for current archive.
  synSetup = None
SynopticSetup from Programme table details for current programme.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cu, progIDs, synSetup)
(Constructor)

source code 

Initialise status from current CuSession task.

Parameters:
  • cu (CuSession) - Curation task.
  • progIDs (list(int)) - List of programme IDs being processed.
Overrides: object.__init__

Class Variable Details [hide private]

actionDict

Value:
{'++': 'start', '+-': 'startNot', '=-': 'finishNot', '==': 'finish'}

methodDict

Value:
{'b': 'cycleThroughBorders',
 'c': 'cycleThroughColours',
 'd': 'synTables',
 'e': 'externalTable',
 'f': 'cycleThroughFilters',
 'h': 'highGalacticLat',
 'n': 'cycleThroughNeighs',
 'o': 'onceOnly',
...