Data Integrator (Python API)
Public Member Functions | Public Attributes | List of all members
utest.tGlobalLDBlocks.CTestGlobalLDBlocks Class Reference

Unit test for the GlobalLDBlocks module. More...

Inheritance diagram for utest.tGlobalLDBlocks.CTestGlobalLDBlocks:
Inheritance graph
[legend]
Collaboration diagram for utest.tGlobalLDBlocks.CTestGlobalLDBlocks:
Collaboration graph
[legend]

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...
 
- Public Member Functions inherited from utest.TestGlobalLDBlocksBase.CTestGlobalLDBlocksBase
def SetDataVersion (cls)
 Set another data version. More...
 

Public Attributes

 Pth
 
 LDBlocks
 
 serr
 

Additional Inherited Members

- Static Public Attributes inherited from utest.TestGlobalLDBlocksBase.CTestGlobalLDBlocksBase
 Data = os.path.join(DI_PY_ROOT, "utest", "data");
 
string HeaderTok = "_HEADER";
 
 Pth = None;
 

Detailed Description

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.

Member Function Documentation

◆ setUpClass()

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.

◆ test_000_getPaths()

def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_000_getPaths (   s)

Test the getPath() functionality.

◆ test_010_simple_SNPGeneDistance()

def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_010_simple_SNPGeneDistance (   s)

Run a simple query to test the basic inLD functionality.

◆ test_020_coordinate_splitting()

def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_020_coordinate_splitting (   s)

Test the coordinate splitting functions.

◆ test_100_fileSNPGenesDistance()

def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_100_fileSNPGenesDistance (   s)

Run inLD-tests from a tab separated file (without header)

◆ test_110_fileSNPGenesDistanceWithHeader()

def utest.tGlobalLDBlocks.CTestGlobalLDBlocks.test_110_fileSNPGenesDistanceWithHeader (   s)

Run inLD-tests from a tab separated file (with header)

Member Data Documentation

◆ LDBlocks

utest.tGlobalLDBlocks.CTestGlobalLDBlocks.LDBlocks

◆ Pth

utest.tGlobalLDBlocks.CTestGlobalLDBlocks.Pth

◆ serr

utest.tGlobalLDBlocks.CTestGlobalLDBlocks.serr

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