Data Integrator (Python API)
|
Unit test for the GlobalLDBlocks module. More...
Public Member Functions | |
def | setUpClass (cls) |
Class wide set up. More... | |
def | test_000_getPaths (s) |
Test the getPath() functionality. More... | |
def | test_010_simple_SNPGeneDistance (s) |
Run a simple query to test the basic inLD functionality. More... | |
def | test_020_coordinate_splitting (s) |
Test the coordinate splitting functions. More... | |
def | test_100_fileSNPGenesDistance (s) |
Run inLD-tests from a tab separated file (without header) More... | |
def | test_110_fileSNPGenesDistanceWithHeader (s) |
Run inLD-tests from a tab separated file (with header) More... | |
![]() | |
def | SetDataVersion (cls) |
Set another data version. More... | |
Public Attributes | |
Pth | |
LDBlocks | |
serr | |
Additional Inherited Members | |
![]() | |
Data = os.path.join(DI_PY_ROOT, "utest", "data"); | |
string | HeaderTok = "_HEADER"; |
Pth = None; | |
Unit test for the GlobalLDBlocks module.
This tests aim is to cover most of the common GlobalLDBlocks functionality. It also does basic checking of the SplitSNPGenomicCoord and SplitGenomicCoord functionality.
def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.setUpClass | ( | cls | ) |
Class wide set up.
This class method must set the @c Pth and @c Cnv variables. As this is a setup method, it will be done prior to instantiating any objects from this class. Furthermore, as class methods cannot be called in the inheritance hierarchy, this needs to be implemented in each subclass. @param cls This class.
Reimplemented from utest.TestGlobalLDBlocksBase.CTestGlobalLDBlocksBase.
def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_000_getPaths | ( | s | ) |
Test the getPath() functionality.
def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_010_simple_SNPGeneDistance | ( | s | ) |
Run a simple query to test the basic inLD functionality.
def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_020_coordinate_splitting | ( | s | ) |
Test the coordinate splitting functions.
def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_100_fileSNPGenesDistance | ( | s | ) |
Run inLD-tests from a tab separated file (without header)
def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_110_fileSNPGenesDistanceWithHeader | ( | s | ) |
Run inLD-tests from a tab separated file (with header)
utest.tGlobalLDBlocks.CTestGlobalLDBlocks.LDBlocks |
utest.tGlobalLDBlocks.CTestGlobalLDBlocks.Pth |
utest.tGlobalLDBlocks.CTestGlobalLDBlocks.serr |