Exemple #1
0
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
Exemple #2
0
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
Exemple #3
0
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
Exemple #4
0
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()
Exemple #5
0
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()
Exemple #6
0
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
Exemple #7
0
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()
Exemple #8
0
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()