Package helpers :: Module UpdateDetectionTables :: Class RowCounter
[hide private]

Class RowCounter

source code


Checks that the *DetectionRaw and *DetectionPhotometry tables all have the same row counts.

Nested Classes [hide private]
    Nested Errors and Exceptions

Inherited from wsatools.DbConnect.CuSession.CuSession: CuError

Instance Methods [hide private]
 
updateTable(self, table)
Compares the given DetectionRaw table row count to that in DetectionPhotometry reports any discrepancies.
source code

Inherited from DetectionUpdater: calcNParts, setUpParameters

Inherited from DetectionUpdater (private): _onException, _onRun, _parseSchemas

Inherited from wsatools.DbConnect.CuSession.CuSession: __del__, __init__, logBrokenFile, run

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

Static Methods [hide private]

Inherited from wsatools.DbConnect.CuSession.CuSession: logException

Class Variables [hide private]

Inherited from DetectionUpdater: comment, firstProg, lastProg, tableSet

Inherited from DetectionUpdater (private): _autoCommit, _isPersistent

Inherited from wsatools.DbConnect.CuSession.CuSession: archive, cuEventID, cuNum, curator, eTypes, isDayStampedLog, onlyNonSurveys, onlySurveys, programme, programmeID, resultsFilePathName, shareFileID, sysc

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

updateTable(self, table)

source code 

Compares the given DetectionRaw table row count to that in DetectionPhotometry reports any discrepancies.

Parameters:
  • table (schema.Table) - Schema for detection table to update.
Overrides: DetectionUpdater.updateTable