Skip to content

Commit

Permalink
chore: add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMaggio committed Apr 18, 2024
1 parent 0e79a40 commit a1ab30f
Show file tree
Hide file tree
Showing 5 changed files with 222 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@

requirements = {"robotType": "OT-2", "apiLevel": "2.13"}

#############
# CHANGELOG #
#############

# 2.13

# - Heater-Shaker Module support added


def run(ctx: protocol_api.ProtocolContext) -> None:
"""This method is run by the protocol engine."""
Expand Down Expand Up @@ -57,6 +65,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:

pipette_right = ctx.load_instrument(instrument_name="p20_single_gen2", mount="right", tip_racks=tips_20ul)

#########################
# Heater-Shaker Support #
#########################

# -------------------------- #
# Added in API version: 2.13 #
# -------------------------- #

# modules https://docs.opentrons.com/v2/new_modules.html#available-modules
hs_module = ctx.load_module("heaterShakerModuleV1", hs_position)
temperature_module = ctx.load_module("temperature module gen2", temperature_position)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@

requirements = {"robotType": "OT-2", "apiLevel": "2.14"}

#############
# CHANGELOG #
#############

# ----
# 2.14
# ----

# - ProtocolContext.defined_liquid and Well.load_liquid added
# - load_labware without parameters should still find the labware

# ----
# 2.13
# ----

# - Heater-Shaker Module support added

def run(ctx: protocol_api.ProtocolContext) -> None:
"""This method is run by the protocol engine."""
Expand Down Expand Up @@ -57,6 +73,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:

pipette_right = ctx.load_instrument(instrument_name="p20_single_gen2", mount="right", tip_racks=tips_20ul)

#########################
# Heater-Shaker Support #
#########################

# -------------------------- #
# Added in API version: 2.13 #
# -------------------------- #

# modules https://docs.opentrons.com/v2/new_modules.html#available-modules
hs_module = ctx.load_module("heaterShakerModuleV1", hs_position)
temperature_module = ctx.load_module("temperature module gen2", temperature_position)
Expand All @@ -70,7 +94,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
hs_plate = hs_module.load_labware("opentrons_96_pcr_adapter_nest_wellplate_100ul_pcr_full_skirt")
tc_plate = thermocycler_module.load_labware("nest_96_wellplate_100ul_pcr_full_skirt")

# A 2.14 difference, no params specified, still should find it.
###################################
# Load Labware with no parameters #
###################################

# -------------------------- #
# Fixed in API version: 2.14 #
# -------------------------- #

custom_labware = ctx.load_labware(
"cpx_4_tuberack_100ul",
custom_lw_position,
Expand Down Expand Up @@ -101,7 +132,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
logo_destination_plate.wells_by_name()["E5"],
]

# >= 2.14 define_liquid and load_liquid
#######################################
# define_liquid & load_liquid Support #
#######################################

# -------------------------- #
# Added in API version: 2.14 #
# -------------------------- #

water = ctx.define_liquid(
name="water", description="H₂O", display_color="#42AB2D"
) # subscript 2 https://www.compart.com/en/unicode/U+2082
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,31 @@

requirements = {"robotType": "OT-2", "apiLevel": "2.15"}

#############
# CHANGELOG #
#############

# ----
# 2.15
# ----

# - move_labware added - Manual Deck State Modification
# - ProtocolContext.load_adapter added
# - OFF_DECK location added

# ----
# 2.14
# ----

# - ProtocolContext.defined_liquid and Well.load_liquid added
# - load_labware without parameters should still find the labware

# ----
# 2.13
# ----

# - Heater-Shaker Module support added


def run(ctx: protocol_api.ProtocolContext) -> None:
"""This method is run by the protocol engine."""
Expand Down Expand Up @@ -57,6 +82,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:

pipette_right = ctx.load_instrument(instrument_name="p20_single_gen2", mount="right", tip_racks=tips_20ul)

#########################
# Heater-Shaker Support #
#########################

# -------------------------- #
# Added in API version: 2.13 #
# -------------------------- #

# modules https://docs.opentrons.com/v2/new_modules.html#available-modules
hs_module = ctx.load_module("heaterShakerModuleV1", hs_position)
temperature_module = ctx.load_module("temperature module gen2", temperature_position)
Expand All @@ -71,7 +104,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
hs_plate = hs_module.load_labware(name="nest_96_wellplate_100ul_pcr_full_skirt", adapter="opentrons_96_pcr_adapter")
tc_plate = thermocycler_module.load_labware("nest_96_wellplate_100ul_pcr_full_skirt")

# A 2.14 difference, no params specified, still should find it.
###################################
# Load Labware with no parameters #
###################################

# -------------------------- #
# Fixed in API version: 2.14 #
# -------------------------- #

custom_labware = ctx.load_labware(
"cpx_4_tuberack_100ul",
custom_lw_position,
Expand Down Expand Up @@ -102,7 +142,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
logo_destination_plate.wells_by_name()["E5"],
]

# >= 2.14 define_liquid and load_liquid
#######################################
# define_liquid & load_liquid Support #
#######################################

# -------------------------- #
# Added in API version: 2.14 #
# -------------------------- #

water = ctx.define_liquid(
name="water", description="H₂O", display_color="#42AB2D"
) # subscript 2 https://www.compart.com/en/unicode/U+2082
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,39 @@

requirements = {"robotType": "OT-2", "apiLevel": "2.16"}

#############
# CHANGELOG #
#############

# ----
# 2.16
# ----

# - prepare_to_aspirate added
# - fixed_trash property changed
# - instrument_context.trash_container property changed

# ----
# 2.15
# ----

# - move_labware added - Manual Deck State Modification
# - ProtocolContext.load_adapter added
# - OFF_DECK location added

# ----
# 2.14
# ----

# - ProtocolContext.defined_liquid and Well.load_liquid added
# - load_labware without parameters should still find the labware

# ----
# 2.13
# ----

# - Heater-Shaker Module support added


def run(ctx: protocol_api.ProtocolContext) -> None:
"""This method is run by the protocol engine."""
Expand Down Expand Up @@ -57,6 +90,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:

pipette_right = ctx.load_instrument(instrument_name="p20_single_gen2", mount="right", tip_racks=tips_20ul)

#########################
# Heater-Shaker Support #
#########################

# -------------------------- #
# Added in API version: 2.13 #
# -------------------------- #

# modules https://docs.opentrons.com/v2/new_modules.html#available-modules
hs_module = ctx.load_module("heaterShakerModuleV1", hs_position)
temperature_module = ctx.load_module("temperature module gen2", temperature_position)
Expand All @@ -71,7 +112,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
hs_plate = hs_module.load_labware(name="nest_96_wellplate_100ul_pcr_full_skirt", adapter="opentrons_96_pcr_adapter")
tc_plate = thermocycler_module.load_labware("nest_96_wellplate_100ul_pcr_full_skirt")

# A 2.14 difference, no params specified, still should find it.
###################################
# Load Labware with no parameters #
###################################

# -------------------------- #
# Fixed in API version: 2.14 #
# -------------------------- #

custom_labware = ctx.load_labware(
"cpx_4_tuberack_100ul",
custom_lw_position,
Expand Down Expand Up @@ -102,7 +150,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
logo_destination_plate.wells_by_name()["E5"],
]

# >= 2.14 define_liquid and load_liquid
#######################################
# define_liquid & load_liquid Support #
#######################################

# -------------------------- #
# Added in API version: 2.14 #
# -------------------------- #

water = ctx.define_liquid(
name="water", description="H₂O", display_color="#42AB2D"
) # subscript 2 https://www.compart.com/en/unicode/U+2082
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,48 @@

requirements = {"robotType": "OT-2", "apiLevel": "2.17"}

#############
# CHANGELOG #
#############

#########################
#### LOOK AT THIS #######
#########################
# ----
# 2.17
# ----

# NOTHING NEW
# This protocol is exactly the same as 2.16 Smoke Test V3
# The only difference is the API version in the metadata
# There were no new positive test cases for 2.17
# The negative test cases are captured in the 2.17 dispense changes protcol

#########################
#### LOOK AT THIS #######
#########################
# ----
# 2.16
# ----

# - prepare_to_aspirate added
# - fixed_trash property changed
# - instrument_context.trash_container property changed

# ----
# 2.15
# ----

# - move_labware added - Manual Deck State Modification
# - ProtocolContext.load_adapter added
# - OFF_DECK location added

# ----
# 2.14
# ----

# - ProtocolContext.defined_liquid and Well.load_liquid added
# - load_labware without parameters should still find the labware

# ----
# 2.13
# ----

# - Heater-Shaker Module support added


def run(ctx: protocol_api.ProtocolContext) -> None:
Expand Down Expand Up @@ -71,7 +100,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:

pipette_right = ctx.load_instrument(instrument_name="p20_single_gen2", mount="right", tip_racks=tips_20ul)

# modules https://docs.opentrons.com/v2/new_modules.html#available-modules
#########################
# Heater-Shaker Support #
#########################

# -------------------------- #
# Added in API version: 2.13 #
# -------------------------- #

hs_module = ctx.load_module("heaterShakerModuleV1", hs_position)
temperature_module = ctx.load_module("temperature module gen2", temperature_position)
thermocycler_module = ctx.load_module("thermocycler module gen2")
Expand All @@ -85,7 +121,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
hs_plate = hs_module.load_labware(name="nest_96_wellplate_100ul_pcr_full_skirt", adapter="opentrons_96_pcr_adapter")
tc_plate = thermocycler_module.load_labware("nest_96_wellplate_100ul_pcr_full_skirt")

# A 2.14 difference, no params specified, still should find it.
###################################
# Load Labware with no parameters #
###################################

# -------------------------- #
# Fixed in API version: 2.14 #
# -------------------------- #

custom_labware = ctx.load_labware(
"cpx_4_tuberack_100ul",
custom_lw_position,
Expand Down Expand Up @@ -116,7 +159,14 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
logo_destination_plate.wells_by_name()["E5"],
]

# >= 2.14 define_liquid and load_liquid
#######################################
# define_liquid & load_liquid Support #
#######################################

# -------------------------- #
# Added in API version: 2.14 #
# -------------------------- #

water = ctx.define_liquid(
name="water", description="H₂O", display_color="#42AB2D"
) # subscript 2 https://www.compart.com/en/unicode/U+2082
Expand Down Expand Up @@ -146,7 +196,7 @@ def run(ctx: protocol_api.ProtocolContext) -> None:
# Added in API version: 2.15 #
# -------------------------- #

# Putting steps for this at beginning of protocol so you can do the manual stuff
# Putting steps for this at beginning of protocol so y # >= 2.14 define_liquid and load_liquidou can do the manual stuff
# then walk away to let the rest of the protocol execute

# The test flow is as follows:
Expand Down

0 comments on commit a1ab30f

Please sign in to comment.