예제 #1
0
파일: run_test.py 프로젝트: zeromtmu/hts
def test_read_run_from_readouts(path_raw_data):
    test_run = Run.create(origin="envision",
                          format="csv",
                          dir=True,
                          path=os.path.join(path_raw_data,
                                            TEST_FOLDER_LUMINESCENCE_CSV))
    assert type(test_run) == Run
    assert len(test_run.plates) == 5
예제 #2
0
파일: run_test.py 프로젝트: zeromtmu/hts
def test_read_run_from_config_insulin(path_run):
    test_run = Run.create(origin="config",
                          path=os.path.join(path_run, TEST_RUN_CONFIG_INSULIN))
    assert type(test_run) == Run
    assert len(test_run.plates) == 5
    test_plate = test_run.plates["150622_AmAmAs384_SanofiBatches1.csv"]
    test_height = 16
    assert test_plate.height == test_height
    assert test_run.height == test_height
    test_width = 24
    assert test_plate.width == test_width
    assert test_run.width == test_width
    assert len(test_plate.read_outs) == 480
    test_protocol = test_run.protocol()
    assert type(test_protocol) == Protocol
    test_plate_layout = test_run.plate_layout()
    assert type(test_plate_layout) == PlateLayout
예제 #3
0
파일: run_test.py 프로젝트: elkeschaper/hts
def test_read_run_from_config_insulin(path_run):
    test_run = Run.create(origin="config",
                        path=os.path.join(path_run, TEST_RUN_CONFIG_INSULIN))
    assert type(test_run) == Run
    assert len(test_run.plates) == 5
    test_plate = test_run.plates["150622_AmAmAs384_SanofiBatches1.csv"]
    test_height = 16
    assert test_plate.height == test_height
    assert test_run.height == test_height
    test_width = 24
    assert test_plate.width == test_width
    assert test_run.width == test_width
    assert len(test_plate.read_outs) == 480
    test_protocol = test_run.protocol()
    assert type(test_protocol) == Protocol
    test_plate_layout = test_run.plate_layout()
    assert type(test_plate_layout) == PlateLayout
예제 #4
0
파일: run_test.py 프로젝트: zeromtmu/hts
def test_do_qc_siRNA(path_run):
    test_run = Run.create(origin="config",
                          path=os.path.join(path_run, TEST_RUN_CONFIG_SIRNA))
    test_qc = test_run.qc()
예제 #5
0
파일: run_test.py 프로젝트: zeromtmu/hts
def test_do_qc_insulin(path_run):
    test_run = Run.create(origin="config",
                          path=os.path.join(path_run, TEST_RUN_CONFIG_INSULIN))
    test_qc = test_run.qc()
예제 #6
0
파일: run_test.py 프로젝트: elkeschaper/hts
def test_read_run_from_readouts(path_raw_data):
    test_run = Run.create(origin="envision", format="csv",  dir=True,
                        path=os.path.join(path_raw_data, TEST_FOLDER_LUMINESCENCE_CSV))
    assert type(test_run) == Run
    assert len(test_run.plates) == 5
예제 #7
0
파일: run_test.py 프로젝트: elkeschaper/hts
def test_do_qc_siRNA(path_run):
    test_run = Run.create(origin="config",
                        path=os.path.join(path_run, TEST_RUN_CONFIG_SIRNA))
    test_qc = test_run.qc()
예제 #8
0
파일: run_test.py 프로젝트: elkeschaper/hts
def test_do_qc_insulin(path_run):
    test_run = Run.create(origin="config",
                        path=os.path.join(path_run, TEST_RUN_CONFIG_INSULIN))
    test_qc = test_run.qc()