Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gcode): reduce time of gcode-testing #8683

Merged
merged 3 commits into from
Nov 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion g-code-testing/g_code_test_data/http/http_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
)


S3_BASE: Final = "http"
S3_BASE: Final = "dev/http"
"""Base of files in s3"""
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@
smoothie=SmoothieSettings(
left=PipetteSettings(model="p20_single_v2.0", id="P20SV202020070101"),
right=PipetteSettings(model="p300_multi_v2.1", id="P20SV202020070101"),
)
),
)

# Set up the temperature ramp.
SWIFT_SMOOTHIE_SETTINGS.thermocycler.lid_temperature.degrees_per_tick = 50
SWIFT_SMOOTHIE_SETTINGS.thermocycler.plate_temperature.degrees_per_tick = 50
SWIFT_SMOOTHIE_SETTINGS.tempdeck.temperature.degrees_per_tick = 50


S3_BASE: Final = "protocol"
S3_BASE: Final = "dev/protocol"
"""Base path of files in s3."""

##################
Expand Down Expand Up @@ -59,7 +64,7 @@
smoothie=SmoothieSettings(
left=PipetteSettings(model="p300_single_v2.1", id="P20SV202020070101"),
right=PipetteSettings(model="p20_multi_v2.1", id="P20SV202020070101"),
)
),
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def run(ctx):

# Magnetic Module Testing
magdeck.engage(height=10)
ctx.delay(seconds=30)
ctx.delay(seconds=1)
magdeck.disengage()
ctx.comment(f"mag status {magdeck.status}")
magdeck.engage()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ def run(protocol_context):
# Run Enzymatic Prep Profile
thermocycler.close_lid()
thermocycler.set_block_temperature(70)
thermocycler.set_block_temperature(32, hold_time_minutes=1)
thermocycler.set_block_temperature(64.5, hold_time_minutes=1)
# Changed from hold_time_minutes to hold_time_seconds for faster running in CI
thermocycler.set_block_temperature(32, hold_time_seconds=1)
thermocycler.set_block_temperature(64.5, hold_time_seconds=1)
thermocycler.set_block_temperature(4)
thermocycler.deactivate_lid()
thermocycler.open_lid()
Expand Down Expand Up @@ -271,10 +272,10 @@ def run(protocol_context):

COVER_TEMP = 105
PLATE_TEMP_PRE = 4
PLATE_TEMP_HOLD_1 = (97, 5) # 30)
PLATE_TEMP_HOLD_2 = (97, 5) # 10)
PLATE_TEMP_HOLD_3 = (59.5, 5) # 30)
PLATE_TEMP_HOLD_4 = (67.3, 5) # 30)
PLATE_TEMP_HOLD_1 = (97, 1) # 30)
PLATE_TEMP_HOLD_2 = (97, 1) # 10)
PLATE_TEMP_HOLD_3 = (59.5, 1) # 30)
PLATE_TEMP_HOLD_4 = (67.3, 1) # 30)
# PLATE_TEMP_HOLD_5 = (72, 300)
PLATE_TEMP_POST = 4
NUM_CYCLES = 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ def run(protocol_context):
# Run Enzymatic Prep Profile
thermocycler.close_lid()
thermocycler.set_lid_temperature(70)
thermocycler.set_block_temperature(32, hold_time_minutes=1)
thermocycler.set_block_temperature(64.5, hold_time_minutes=1)
# Changed from hold_time_minutes to hold_time_seconds for faster running in CI
thermocycler.set_block_temperature(32, hold_time_seconds=1)
thermocycler.set_block_temperature(64.5, hold_time_seconds=1)
thermocycler.set_block_temperature(4)
thermocycler.deactivate_lid()
thermocycler.open_lid()
Expand All @@ -110,7 +111,8 @@ def run(protocol_context):
p20.blow_out(well.top(-7))
p20.drop_tip()

thermocycler.set_block_temperature(20.2, hold_time_minutes=2)
# Changed from hold_time_minutes to hold_time_seconds for faster running in CI
thermocycler.set_block_temperature(20.2, hold_time_seconds=1)
thermocycler.set_block_temperature(4)

"""Ligation Purification"""
Expand Down Expand Up @@ -272,10 +274,10 @@ def run(protocol_context):

COVER_TEMP = 105
PLATE_TEMP_PRE = 4
PLATE_TEMP_HOLD_1 = (97, 2) # 30)
PLATE_TEMP_HOLD_2 = (97, 2) # 10)
PLATE_TEMP_HOLD_3 = (59.5, 2) # 30)
PLATE_TEMP_HOLD_4 = (67.3, 2) # 30)
PLATE_TEMP_HOLD_1 = (97, 1) # 30)
PLATE_TEMP_HOLD_2 = (97, 1) # 10)
PLATE_TEMP_HOLD_3 = (59.5, 1) # 30)
PLATE_TEMP_HOLD_4 = (67.3, 1) # 30)
# PLATE_TEMP_HOLD_5 = (72, 300)
PLATE_TEMP_POST = 4
NUM_CYCLES = 5
Expand Down