Classes | |
class | DictDiffer |
Functions | |
def | compTables |
def | compVarColTables |
def testhelper.compTables | ( | referencetab, | |
testtab, | |||
excludecols, | |||
tolerance = 0.001 |
|||
) |
compTables - compare two CASA tables referencetab - the table which is assumed to be correct testtab - the table which is to be compared to referencetab excludecols - list of column names which are to be ignored tolerance - permitted fractional difference (default 0.001 = 0.1 percent)
Definition at line 18 of file testhelper.py.
References make_mmsdata.all.
Referenced by tests.test_simplecluster.test_applycal_mms.test1_applycal_fluxscale_gcal_bcal(), and tests.test_simplecluster.test_uvcont_mms.test1_uvcont_single_spw().
def testhelper.compVarColTables | ( | referencetab, | |
testtab, | |||
varcol | |||
) |
Compare a variable column of two tables. referencetab --> a reference table testtab --> a table to verify varcol --> the name of a variable column (str) Returns True or False.
Definition at line 120 of file testhelper.py.
References make_mmsdata.all.