def test_single_well(self):
     p = Protocol()
     test_plate = p.ref("test", None, "96-flat", discard=True)
     p.absorbance(test_plate, test_plate.well(0), "475:nanometer",
                  "test_reading")
     self.assertTrue(isinstance(p.instructions[0].wells, list))
}, {
    "column": 10,
    "volume": "110:microliter"
}, {
    "column": 11,
    "volume": "120:microliter"
}])

p.seal(test_plate)

p.thermocycle(
    test_plate,
    [{
        "cycles": 1,
        "steps": [{
            "temperature": "95:celsius",
            "duration": "30:minute",
        }]
    }])

p.unseal(test_plate)
p.image_plate(test_plate, mode="top", dataref="test_plate_result")
p.absorbance(test_plate,
             sample_plate.wells_from(0, 12),
             "600:nanometer",
             "test_reading",
             flashes=50)

#p.unseal(test_plate)
print(json.dumps(p.as_dict(), indent=2))
Example #3
0
protocol.transfer(nc_cells.well("A1"), growth_plate.well("H1"),"30:microliter", mix_after=True)

# Step 5 - Add the engineered cells to the measurement plate
protocol.distribute(growth_plate.well("A1"), measurement_plate.wells_from("A1", 3, columnwise=False), "100:microliter")

# Step 6 - Add the negative control cells to the measurement plate
protocol.distribute(growth_plate.well("H1"), measurement_plate.wells_from("C1", 3, columnwise=False), "100:microliter")

# Step 7 - Add LB medium to the measurement plate
protocol.distribute(lb_medium_c.well("A1"), measurement_plate.wells_from("E1", 3, columnwise=False), "100:microliter")

# Step 8 - Cover the growth plate
protocol.cover(growth_plate, lid="standard")

# Step 9 - Measure indirectly cell concentrations
protocol.absorbance(measurement_plate, ["A1", "A2", "A3", "C1", "C2", "C3", "E1", "E2", "E3",], "600:nanometer","Before Incubation")

# Step 10 - Cover the measurement plate
protocol.cover(measurement_plate, lid="standard")

# Step 11 - Grow new engineered and negative control cells
protocol.incubate(growth_plate, "warm_37", "5:hour", shaking=True)

# Step 12 - Store the measurement plate in the fridge
# This step is being run in series instead of parallel.  Will uncomment it when it runs in parallel.
# The measurement plate remains covered and in room temperature while the growth plate is in the incubator.
#protocol.incubate(measurement_plate, "cold_4", "4:hour")

# Step 13 - Uncover the growth plate
protocol.uncover(growth_plate)