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(release): 7.3.0 #15069

Merged
merged 488 commits into from
May 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
488 commits
Select commit Hold shift + click to select a range
3385bf1
refactor(components): update parameter table stories (#14815)
koji Apr 8, 2024
88c3f2c
refactor(components): update Box stories (#14827)
koji Apr 8, 2024
1a5052c
Exec 372 hide performance metrics project behind ff (#14811)
DerekMaggio Apr 8, 2024
e620a8c
refactor(app): remove RTP feature flag (#14837)
koji Apr 8, 2024
2a717d7
feat(protocol-designer): update unused module alert to account for Mo…
jerader Apr 8, 2024
75acb05
feat(robot server): add a POST method on the analyses endpoint (#14828)
sanni-t Apr 8, 2024
3643bc7
feat(protocol-designer): temperature form multiple module support (#1…
jerader Apr 9, 2024
cc084a4
fix(shared-data): format rtp float and int choices to include suffix …
jerader Apr 9, 2024
19d88ce
fix(protocol-designer): magnetic form correct engage height ranges (#…
jerader Apr 9, 2024
1819b8c
feat(api): Pause when `pick_up_tip()` errors in a Python protocol (#1…
SyntaxColoring Apr 9, 2024
2cff9d2
feat(hardware-testing): liquid sense testing script (#14807)
ryanthecoder Apr 9, 2024
0c799fe
Add errored runs to abr tracking sheet (#14845)
rclarke0 Apr 9, 2024
f039897
App style 96 ch exit text (#14843)
y3rsh Apr 9, 2024
e345d32
fix(shared-data, app): fix runtime parameters range display (#14847)
koji Apr 9, 2024
2a82fef
style(app): Adjust desktop app "moveToWell" command text font size (#…
mjhuff Apr 9, 2024
3012568
refactor(app): switch ODD update modal progress bar with spinner (#14…
ncdiehl11 Apr 9, 2024
61b1371
fix(app): display app version again (#14844)
sfoster1 Apr 9, 2024
476149e
feat(protocol-designer): create container for all tipracks (#14848)
jerader Apr 9, 2024
57a8152
refactor(protocol-designer, components): infoItem to nicely accommoda…
jerader Apr 9, 2024
f81da99
fix(shared-data, app): fix small issues in app (#14851)
koji Apr 10, 2024
309b6c1
chore(release): merge changes from v7.2.2 into edge
y3rsh Apr 10, 2024
7544175
fix(discovery-client): fix import statement (#14856)
koji Apr 10, 2024
e423319
feat(opentrons-ai-client, opentrons-ai-server): add folders for opent…
koji Apr 10, 2024
8f50b08
fix(api): ensure the right mount is enabled for initial homing (#14822)
caila-marashaj Apr 10, 2024
a4bc700
fix(app-testing): snapshot failure capture (#14852)
github-actions[bot] Apr 10, 2024
a2c5a02
fix(app): fix rtp slideout issue (#14855)
koji Apr 11, 2024
4c83fc1
fix(app-shell-odd): fix typo in vite-config (#14864)
koji Apr 11, 2024
8bb14f4
feat(app): add input screen for ODD numerical runtime parameters (#14…
ncdiehl11 Apr 11, 2024
a81cc18
fix(shared-data): adapt 96 3.6 to new schema (#14869)
sfoster1 Apr 11, 2024
ee6ff25
chore(api,shared-data): Require Python >=3.10, not >=3.8 (#14867)
SyntaxColoring Apr 11, 2024
332355e
fix(protocol-designer): auto-generate trashBin for flex if no pipetti…
jerader Apr 11, 2024
9b45ea1
Module ramp rate to google sheet (#14868)
rclarke0 Apr 11, 2024
fa6066f
feat(protocol-designer): export and announcement modal for PD 8.1 (#1…
jerader Apr 11, 2024
9be2f8f
fix(app): remove unnecessary console.log (#14880)
koji Apr 11, 2024
044b37f
fix(protocol-designer, components): discarding vs delete step form bu…
jerader Apr 12, 2024
b358ebe
feat(robot-server): add runtime parameter definitions to run summary …
jbleon95 Apr 12, 2024
80222d9
feat(app): add generic run paused splash screen (#14873)
mjhuff Apr 12, 2024
fd6a5b2
fix(app): fix hepa/uv firmware copy (#14881)
mjhuff Apr 12, 2024
15782ad
refactor(protocol-engine): Rename stop() and pause() -> request_stop(…
SyntaxColoring Apr 12, 2024
aba93f1
feat(opentron-ai-client): add Side Panel component (#14886)
koji Apr 12, 2024
b0fb14f
fix(app): update software keyboard ref type (#14860)
koji Apr 12, 2024
485bf0e
feat(app, api-client, react-api-client): add api-client method for pr…
ncdiehl11 Apr 12, 2024
437e074
feat(system-server,robot-server,api): add ability to enable OEM Mode …
vegano1 Apr 12, 2024
f206b14
feat(api-client,app,react-api-client): implement ODD anonymous locali…
brenthagen Apr 12, 2024
efc6bd6
fix(api): raise an error if protocol's defined parameters have duplic…
jbleon95 Apr 12, 2024
f695e74
feat(robot-server): limit the maximum number of analyses stored per p…
sanni-t Apr 12, 2024
5c4c9fe
feat(system-server): add /system/oem_mode/upload_splash endpoint to c…
vegano1 Apr 12, 2024
f8621b8
refactor(protocol-designer): export modal to require app 7.3.0 or hig…
jerader Apr 12, 2024
40637dc
refactor(app): update Flex drop-tip modal copy (#14889)
mjhuff Apr 12, 2024
3142bc2
refactor(app): anonymize all app strings (#14884)
ecormany Apr 12, 2024
fa13e30
feat(performance-metrics): add RobotContextTracker (#14862)
DerekMaggio Apr 15, 2024
f0f3401
fix(app-testing): snapshot failure capture (#14897)
github-actions[bot] Apr 15, 2024
b8c08aa
refactor(robot-server): consolidate DB transactions, fix a max analys…
sanni-t Apr 15, 2024
9cae291
refactor(components): refactor StyledText stories (#14899)
koji Apr 15, 2024
6f35979
refactor(components): refactor location icon stories (#14896)
koji Apr 15, 2024
e5080a6
refactor(app): refactor externallink stories (#14895)
koji Apr 15, 2024
dc093fb
refactor(app): refactor banner component stories (#14894)
koji Apr 15, 2024
e6769f3
fix(shared-data): correctly apply loadname regex (#14887)
sfoster1 Apr 15, 2024
26e063b
feat(opentrons-ai-client): add prompt guide component (#14892)
koji Apr 15, 2024
611978c
refactor(robot-server): Delete unused models for maintenance runs, an…
SyntaxColoring Apr 15, 2024
5b84b34
feat(app): orchestration component for new quick transfer flow (#14808)
smb2268 Apr 15, 2024
bf69ad8
feat(app): push recent RTP run card click to protocol details (#14906)
ncdiehl11 Apr 15, 2024
4e895d4
feat(app, api, shared-data, robot-server): Add module fixtures to dec…
CaseyBatten Apr 15, 2024
55f798a
refactor(api): more clear error messages for type validation when cre…
jbleon95 Apr 15, 2024
8cc2fc7
fix(app): properly disable proceed button if no available robots (#14…
ncdiehl11 Apr 15, 2024
dfb572c
feat(app): factory mode desktop toggle (#14911)
brenthagen Apr 16, 2024
4687e0a
fix(app-testing): snapshot failure capture (#14913)
github-actions[bot] Apr 16, 2024
f7dd2fa
chore(internal release): notes (#14914)
y3rsh Apr 16, 2024
829aa79
refactor(protocol-designer): increased test coverage for ConnectedSte…
jerader Apr 16, 2024
df1d203
fix(app): disable 'Run a protocol' robot overflow menu item if robot …
ncdiehl11 Apr 16, 2024
59d4cc6
fix(protocol-designer): moveLabware newLocation error accounts for cu…
jerader Apr 16, 2024
9152f22
fix(app): Handle Unsafe Move to Plunger during Drop-Tip (#14910)
mjhuff Apr 16, 2024
1fb2e85
fix(app): set max height for desktop modal shell (#14915)
ncdiehl11 Apr 16, 2024
55d25bb
fix(protocol-designer): filter out module addressable areas from newL…
jerader Apr 16, 2024
071cc97
refactor(api,app): remove internal_only flag from enableOEMMode setti…
brenthagen Apr 16, 2024
d77bbb7
fix: fix timing function cross-platform bug (#14919)
DerekMaggio Apr 16, 2024
385d123
feat(app): add pipette selection screen to quick transfer flow (#14912)
smb2268 Apr 16, 2024
4abe652
fix(app): set default selected robot on slideout to first valid robot…
ncdiehl11 Apr 16, 2024
35e9fe7
refactor(api): only ignore stalls for downward portion of force picku…
caila-marashaj Apr 16, 2024
717993b
fix(app): fix various install and version issues (#14926)
sfoster1 Apr 16, 2024
2fadbf1
chore(release): [email protected] release notes (#14930)
y3rsh Apr 17, 2024
3f9cae7
feat(opentrons-ai-client): add ChatDisplay component (#14927)
koji Apr 17, 2024
e20c8e5
chore: add test workflow for opentrons-ai-client (#14923)
koji Apr 17, 2024
0fcbfb4
fix(robot-server): revert test-flex.json back to two pipettes (#14931)
smb2268 Apr 17, 2024
d4bc2da
fix(hardware): remove message ignored by filter spammy log (#14932)
vegano1 Apr 17, 2024
86e1d47
ci(components): fix github deploy action (#14935)
shlokamin Apr 17, 2024
aae8a10
feat(shared-data, api): add uiMaxFlowRate key to pipette definitions …
jerader Apr 17, 2024
0940e7c
chore(api): handle performance-metrics package not existing (#14922)
DerekMaggio Apr 17, 2024
4931d03
fix(opentrons-ai-client): apply GlobalStyle to the application (#14936)
koji Apr 17, 2024
105e8bb
fix(app): add optional description icon to dropdownMenu (#14934)
jerader Apr 17, 2024
f3e966a
fix(app): reset robot and protocol slideout states on close (#14939)
ncdiehl11 Apr 17, 2024
68aa208
ci(components): install udev before calling setup (#14937)
shlokamin Apr 17, 2024
c096931
fix(app): replace remark with react-markdown (#14942)
mjhuff Apr 17, 2024
0e79a40
feat(opentrons-ai-client): add ChatContainer component (#14921)
koji Apr 18, 2024
7d6100d
fix(hardware): remove can messenger `motor_enabled` listener (#14943)
ahiuchingau Apr 18, 2024
58973c6
fix(api): retract function should acquire motion lock (#14944)
ahiuchingau Apr 18, 2024
585f69e
feat(protocol-designer): edit multiple modules modal + row (#14933)
jerader Apr 18, 2024
1a4492b
fix(api): better error message for non-string variable names and min/…
jbleon95 Apr 18, 2024
6d91a56
fix(app): ensure ApplyHistoricOffsets renders on non-RTP protocols (#…
ncdiehl11 Apr 18, 2024
e877f3a
refactor(api): Delete unused action_dispatcher argument (#14954)
SyntaxColoring Apr 19, 2024
8fa37b3
docs(api): fix or remove broken links on Welcome page (#14957)
ecormany Apr 19, 2024
4418128
fix(api): Various E-stop fixes (#14929)
SyntaxColoring Apr 19, 2024
8e1794f
chore: remove downgrade npm (#14898)
koji Apr 19, 2024
15bfd98
refactor(api): Relocate module location validation to engine (#14960)
CaseyBatten Apr 19, 2024
b5a9115
chore: create test-data-generation project in monorepo (#14961)
DerekMaggio Apr 19, 2024
165956d
fix(api): add case correction to module_context.load_labware (#14964)
sanni-t Apr 19, 2024
229573f
fix(api): engage axis to enable the motor before attempting to move t…
vegano1 Apr 19, 2024
4cc69eb
fix(app): configure modules during calibration, shorten heater shaker…
b-cooper Apr 19, 2024
de2b1eb
feat(opentrons-ai-client): introduce react-markdown to chat display c…
koji Apr 22, 2024
0f07f97
fix(components): fix icon stories (#14969)
koji Apr 22, 2024
8776ed9
ci(shared-data): install dependencies in workflow (#14958)
shlokamin Apr 22, 2024
b42927a
feat(app): add tiprack selection step to quick transfer flow (#14950)
smb2268 Apr 22, 2024
58a1fc0
refactor(protocol-designer): tip position modal max values round down…
jerader Apr 22, 2024
26d55ec
fix(app, api-client): fix choose protocol slideout issue (#14949)
koji Apr 22, 2024
838e356
refactor(protocol-designer): assign module slot in createFileWizard i…
jerader Apr 22, 2024
ec73d82
refactor(components): refactor roundtab stories (#14956)
koji Apr 22, 2024
2532997
fix(app): prevent "run again" banner from rendering after navigating …
mjhuff Apr 22, 2024
d4f7f17
feat(hardware-testing): enable multi sensor processing in liquid prob…
ryanthecoder Apr 22, 2024
2d57126
feature(api, robot-server): Allow fixit commands to recover from an e…
TamarZanzouri Apr 22, 2024
737c58c
fix(robot-server): notify /runs when a non-current run is deleted (#1…
mjhuff Apr 22, 2024
433ef44
feat(api-client,app,react-api-client): upload splash logo from deskto…
brenthagen Apr 22, 2024
ff5e0c0
fix(api): remove homing patch fix for right mount when a 96-channel i…
ahiuchingau Apr 22, 2024
3b7058e
fix(app): add robotSerialNumber to proceedToRun event (#14976)
koji Apr 23, 2024
4794f55
feat(opentrons-ai-client) add input textbox to container (#14968)
koji Apr 23, 2024
cfefcbc
feat(api): add option to ignore different tip presence states (#14980)
caila-marashaj Apr 23, 2024
ce97b91
fix(app): fix infinitely re-rendering/never rendering firmware succes…
mjhuff Apr 23, 2024
daa51dd
fix(api): Filter out `air_gap()` calls as higher-order commands (#14985)
SyntaxColoring Apr 23, 2024
26929a2
fix(app): clone run with RTPs from HistoricalProtocolRun (#14959)
ncdiehl11 Apr 23, 2024
4c89730
feat(opentrons-ai-client): add prompt button (#14970)
koji Apr 23, 2024
446da56
feat(app): Only follow rear tip sensor during calibration setup (#14984)
caila-marashaj Apr 23, 2024
a9dcb20
chore(release): [email protected] release notes (#14988)
y3rsh Apr 23, 2024
5415917
fix(app): resolve module location conflicts through deck config durin…
b-cooper Apr 23, 2024
40db9c5
fix(opentrons-shared-data): fix performance module not being recogniz…
DerekMaggio Apr 24, 2024
f7a2f56
chore(release): [email protected] release notes (#14991)
y3rsh Apr 24, 2024
9b6fb78
fix(build): add workaround to fix github actions due to microsoft sig…
vegano1 Apr 24, 2024
1b1ec1b
feat(opentrons-ai-client): add style to container of Textarea (#14987)
koji Apr 24, 2024
aa3569b
fix(app-testing): snapshot failure capture (#14992)
github-actions[bot] Apr 24, 2024
9d75e1f
feat(shared-data, protocol-designer): return latest pipette model def…
jerader Apr 24, 2024
5683b33
fix(shared-data): remove sort from choices (#14996)
koji Apr 24, 2024
972c970
refactor(protocol-designer): tweak when module cards are disabled in …
jerader Apr 24, 2024
0493c5c
fix(app): specify component for markdown uls (#14997)
sfoster1 Apr 24, 2024
5f85719
chore(shared-data): Add pipette definition for P50S v3.6 (#14863)
andySigler Apr 24, 2024
77bc720
refactor(app): add RTP properties to protocol run event analytics (#1…
ncdiehl11 Apr 24, 2024
c7bd4bb
feat(api): add a reload-labware command (#14963)
sfoster1 Apr 24, 2024
04e00ad
refactor(protocol-designer): minimize and extend position and tuberac…
jerader Apr 25, 2024
bd1f8da
feat(step-generation, shared-data): pipette collision warnings (#14989)
jerader Apr 25, 2024
f6099c4
Correct HS Time Calculation and Print Statements (#15005)
rclarke0 Apr 25, 2024
ee6e9fe
fix(app): add robot serial number to BuildrootAnalyticsData (#15000)
koji Apr 25, 2024
b2644e5
refactor(monorepo): update lint-js command (#14977)
koji Apr 25, 2024
7bb202e
fix(app-shell,app): Send labware files and runtime parameters over US…
SyntaxColoring Apr 25, 2024
a153f52
fix(app): disable the factory mode complete and restart robot button …
brenthagen Apr 25, 2024
33f37ea
feat(robot-server): add deck_configuration notification publisher (#1…
mjhuff Apr 25, 2024
d5484f8
AUTH-73 feat(rtp): example RTP for testing (#14703)
y3rsh Apr 25, 2024
e53226a
feat(app): Add GET /deck_configuration notification support (#15007)
mjhuff Apr 25, 2024
cf9b6d2
feat(api): implement labware.set_offset in 2.18 (#14940)
sfoster1 Apr 25, 2024
4ea08cb
fix(app): check /instruments for 96 channel attachment (#15011)
smb2268 Apr 25, 2024
fab0bd2
fix(app): liquid detail fixed precision (#15013)
sfoster1 Apr 25, 2024
faff667
chore(mono): Enforce notification hooks in the app (#15010)
mjhuff Apr 25, 2024
264883a
feat(shared-data, api): return latest pipette version from pipetteNam…
jerader Apr 25, 2024
dcd2666
fix(api): skip command key hash generation only if command intent is …
sanni-t Apr 26, 2024
ff84cb1
chore(app-shell): no hard links when building the app locally (#15024)
mjhuff Apr 26, 2024
ce1e64a
refactor(performance-metrics): separate storage logic from tracker (#…
DerekMaggio Apr 26, 2024
39eafa2
feat(app): validate factory mode slideout input (#15025)
brenthagen Apr 26, 2024
97bf5f3
feat(app): create hooks to anonymize instrument display names (#14978)
brenthagen Apr 26, 2024
b2965a6
fix(app): fix ordering of gripper exit so success screen doesn't flas…
smb2268 Apr 26, 2024
471ec35
fix(app): ODD fixture removal, mag block with staging in deck map, ad…
b-cooper Apr 26, 2024
331eddc
fix(api): disallow hashing we using a fixit command (#15026)
TamarZanzouri Apr 26, 2024
35e4e10
fix(api): Raise cases for unsupported nozzle layouts (#15009)
CaseyBatten Apr 26, 2024
f213a44
feat(hardware-testing): update the post processing for multi sensor r…
ryanthecoder Apr 26, 2024
5d0c405
added script to read individual files (#15028)
rclarke0 Apr 26, 2024
da4e01e
feat(api): improve analysis cli (#15027)
sfoster1 Apr 26, 2024
e288df0
refactor(api): Use a dataclass, not a BaseModel, for PipetteNozleLayo…
SyntaxColoring Apr 29, 2024
a30f0f8
refactor(app): style desktop "Applied Labware Offset Data" buttons (#…
mjhuff Apr 29, 2024
114c9ba
fix(app,api,robot-server): remove old sim flag (#15018)
sfoster1 Apr 29, 2024
f0d880a
fix(api): pass the calibrated jaw max offset value when we resetting …
ahiuchingau Apr 29, 2024
0eb749f
fix(api): disengage Z motors during 96-channel pipettes bracket detac…
ahiuchingau Apr 29, 2024
aa4a835
fix(app-shell): monitor usb only once (#15047)
sfoster1 Apr 30, 2024
2ded69a
fix(app): add grey square for stale and error protocol map (#15016)
smb2268 Apr 30, 2024
e182bb9
refactor(api): Make sure command implementations return something com…
SyntaxColoring Apr 30, 2024
2f89575
fix(app,components): fix add a new case to info screen for labware (#…
koji Apr 30, 2024
6eb85a8
fix(app): fix Numerical keyboard switching issue (#15044)
koji Apr 30, 2024
117f26f
fix(api): preserve pre-v2.18 API tip drop alternating behavior (#15052)
jbleon95 Apr 30, 2024
c163426
fix(robot-server): initialize fw update status_cache so we dont hang …
vegano1 Apr 30, 2024
2e66d54
fix(app): mag block with staging area location conflict, handle no co…
b-cooper Apr 30, 2024
8084b9a
fix(app): activate input-field focus-visble (#15048)
koji Apr 30, 2024
65a5d0c
chore: release notes for 7.3.0 (#15045)
ecormany May 1, 2024
4eac5a2
fix(test): snapshot renaming (#15038)
y3rsh May 1, 2024
b73b082
fix(app): fix restore default values button behavior (#15017)
koji May 1, 2024
ccce785
fix(app): fix remove Parameters header if a protocl is non-RTP (#15036)
koji May 1, 2024
19facd0
fix(app): fix RoundTabs grid-gap in protocl details (#15037)
koji May 1, 2024
d929a2b
fix(app): remove unnecessary padding-top (#15039)
koji May 1, 2024
3ff6c7b
fix(app-testing): snapshot failure capture (#15058)
github-actions[bot] May 1, 2024
4635d72
refactor(app): generify MQTT Analytics (#15065)
mjhuff May 1, 2024
6e3c0d1
fix(api): stop-requested hanging on stop when awaiting-recovery (#15066)
TamarZanzouri May 1, 2024
b15af5e
feat(test-data-generation): first pass at generating deck configurati…
DerekMaggio May 1, 2024
044be7a
fix(api-client): sanitize file name thoroughly (#15062)
brenthagen May 1, 2024
1cea210
feat(app): anonymize pipette wizard flows (#15055)
brenthagen May 1, 2024
78ac8fc
fix(system-server): sanitize the filename in the upload_splash endpoi…
vegano1 May 1, 2024
f44872b
feat(robot-server, app): add a new endpoint for fast-fetching all run…
sanni-t May 1, 2024
3f10d09
feat(app): anonymize release notes (#15068)
brenthagen May 1, 2024
657d259
fix(app): fallback to current run command on ODD if run diverges from…
b-cooper May 1, 2024
1ed0740
fix(app): modify slideout restore value link layout (#15059)
koji May 2, 2024
2c5669b
fix(app): fix the arrow icon size in dropdown menu (#15042)
koji May 2, 2024
7aa5805
fix(app): remove unnecessary padding (#15067)
koji May 2, 2024
93d3180
fix(app): remove input field box-shadow on ODD (#15040)
koji May 3, 2024
8fef724
refactor(app): format <ul> in release notes (#15081)
mjhuff May 3, 2024
02a1a16
fix(app): modify the space between icon and banner outline (#15085)
koji May 3, 2024
0526f55
fix(app): disable module calibration if heating or cooling (#15054)
ncdiehl11 May 3, 2024
d6472ae
fix(app): fix input field behavior on blur (#15035)
koji May 3, 2024
dfd0f31
fix(app): fix tooltip behavior for disabled Restore default value on …
ncdiehl11 May 3, 2024
fe428d4
fix(app): fix list button styling (#15088)
koji May 3, 2024
a88f03b
fix(app): update specific analysis keys passed through CommandText wi…
ncdiehl11 May 6, 2024
ef946ef
fix(app): fix space in mini card (#15095)
koji May 6, 2024
9ae6051
fix(app, react-api-client): handle failed analysis for RTP protocol o…
ncdiehl11 May 7, 2024
59d0062
refactor(app): Update drop tip blowout copy (#15109)
mjhuff May 7, 2024
cfed247
fix(robot-server): clear ChangeNotifier's internal event immediately …
mjhuff May 7, 2024
f6bd225
fix(app): fix choose number input field behavior (#15099)
koji May 7, 2024
16b94b5
fix(app): update disabled style of ProtocolSetupStep description (#15…
ncdiehl11 May 7, 2024
ef7a0d8
fix(app): ensure terminal run preview shows detail for load liquid co…
ncdiehl11 May 8, 2024
49cdabc
chore(shared-data): fix deploy to npm github action (#15123)
shlokamin May 8, 2024
1be30f7
fix(app): Fix dropdown menu open direction issue (#15091)
koji May 8, 2024
31a0f3e
chore(robot-server): Fix failing ChangeNotifier test (#15136)
mjhuff May 8, 2024
2011402
fix(api): OT-2 attempting to connect modules via temporary ports (#15…
sanni-t May 8, 2024
7c410bf
fix(app): remove excess padding in TestShakeSlideout (#15142)
ncdiehl11 May 9, 2024
de2ada8
fix(app): fix background color on magnetic module slideout data (#15140)
ncdiehl11 May 9, 2024
0d94f74
fix(app): update InputField styling (#15114)
koji May 9, 2024
9207ef5
fix(app): remove padding from lpc flex box (#15152)
koji May 9, 2024
db21c14
fix(app): fix UpdateAppModal style (#15149)
ncdiehl11 May 9, 2024
a78ea71
fix(app): ensure liquids nested in labware on adapter in module show …
ncdiehl11 May 9, 2024
4a2f61f
refactor(app): refine file upload, input field components (#15097)
brenthagen May 9, 2024
146cf1f
fix(app): fix font size in lpc table (#15151)
koji May 9, 2024
d367217
fix(app): address Design QA comments for modules in deck config (#15150)
b-cooper May 9, 2024
21f917f
fix(app): fix password button rendering issue and update input field …
koji May 10, 2024
ed09d54
fix(app): fix scrollbar style on LPC results table on ODD (#15164)
ncdiehl11 May 10, 2024
0c40f7d
fix(api): Automatic tip tracking index out of range fix (#15135)
CaseyBatten May 10, 2024
0096c12
fix(shared-data) Update tip overlap values for Flex Pipettes (#15147)
Carlos-fernandez May 10, 2024
c7dd9f1
Revert "fix(shared-data) Update tip overlap values for Flex Pipettes …
sfoster1 May 14, 2024
ff46f3a
chore: add known issue for Windows USB labware offset data (#15185)
ecormany May 15, 2024
87bf426
fix(app): show InfoScreen under RunPreview for a run canceled before …
ncdiehl11 May 15, 2024
755a21b
refactor(react-api-client): fix react query key object hashing for us…
ncdiehl11 May 15, 2024
ecd6ab0
chore: add known issue for losing LPC offsets when swapping labware t…
ecormany May 16, 2024
97da85c
fix(app): wait for maintenance run deletion before closing flows (#15…
smb2268 May 16, 2024
737865d
fix(app): properly fall back to load order module matching on map vie…
b-cooper May 16, 2024
a84f58a
fix(app): disable exit button after successful pipette attach/detach …
ncdiehl11 May 16, 2024
76cbb52
fix(app): clear intervention modal if run is finishing (#15209)
ncdiehl11 May 16, 2024
bb1f1ce
refactor(app): make on device display deck configurator updates live …
b-cooper May 16, 2024
d83c4e6
fix(api): restore empty error blocks on cancelled runs (#15215)
sfoster1 May 17, 2024
4dfd608
fix(app): fix slot validation on ODD location conflict check to accou…
CaseyBatten May 21, 2024
21572f0
fix(app): instead filter magnetic blocks (not magnetic modules) out o…
b-cooper May 21, 2024
2afa859
fix(api): validation casing for mixed tip use between single and eigh…
CaseyBatten May 23, 2024
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
Prev Previous commit
Next Next commit
feat(step-generation, shared-data): pipette collision warnings (#14989)
closes AUTH-19
jerader authored Apr 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit bd1f8da7ad28309df7847106188f467c074a1ebe
30 changes: 30 additions & 0 deletions shared-data/js/helpers/__tests__/getFlexSurroundingSlots.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { describe, it, expect } from 'vitest'
import { getFlexSurroundingSlots } from '../getFlexSurroundingSlots'

describe('getFlexSurroundingSlots', () => {
it('returns slots when slot is D2', () => {
const results = getFlexSurroundingSlots('D2', [])
expect(results).toStrictEqual(['C1', 'C2', 'C3', 'D1', 'D3'])
})
it('returns slots when selected is a center slot', () => {
const results = getFlexSurroundingSlots('C2', [])
expect(results).toStrictEqual([
'B1',
'B2',
'B3',
'C1',
'C3',
'D1',
'D2',
'D3',
])
})
it('returns slots when selected is a column 3 with staging areas present', () => {
const results = getFlexSurroundingSlots('B3', ['A4'])
expect(results).toStrictEqual(['A2', 'A3', 'A4', 'B2', 'C2', 'C3'])
})
it('returns slots when selected is a corner, A1', () => {
const results = getFlexSurroundingSlots('A1', ['A4'])
expect(results).toStrictEqual(['A2', 'B1', 'B2'])
})
})
63 changes: 63 additions & 0 deletions shared-data/js/helpers/getFlexSurroundingSlots.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import type { DeckSlotId } from '../types'

const FLEX_GRID = [
['A1', 'A2', 'A3'],
['B1', 'B2', 'B3'],
['C1', 'C2', 'C3'],
['D1', 'D2', 'D3'],
]

const LETTER_TO_ROW_MAP: Record<string, number> = {
A: 0,
B: 1,
C: 2,
D: 3,
}

let COLS = 3 // Initial number of columns in each row
const ROWS = 4

const DIRECTIONS = [
[-1, -1], // NW
[-1, 0], // N
[-1, 1], // NE
[0, -1], // W
[0, 1], // E
[1, -1], // SW
[1, 0], // S
[1, 1], // SE
]

export const getFlexSurroundingSlots = (
slot: DeckSlotId,
stagingAreaSlots: DeckSlotId[]
): DeckSlotId[] => {
// Handle staging area slots
if (stagingAreaSlots.length > 0) {
stagingAreaSlots.forEach((stagingSlot, index) => {
if (stagingSlot) {
FLEX_GRID[index].push(stagingSlot)
}
})
COLS = Math.max(COLS, FLEX_GRID[0].length) // Update COLS to the maximum row length
}

const letter = slot.charAt(0)
const col = parseInt(slot.charAt(1)) - 1 // Convert the column to a 0-based index
const row = LETTER_TO_ROW_MAP[letter]

const surroundingSlots: DeckSlotId[] = []

// Iterate through both directions
DIRECTIONS.forEach(([dRow, dCol]) => {
const newRow = row + dRow
const newCol = col + dCol

if (newRow >= 0 && newRow < ROWS && newCol >= 0 && newCol < COLS) {
surroundingSlots.push(FLEX_GRID[newRow][newCol])
}
})

// Filter out any undefined values from the staging area slots that are not added
return surroundingSlots.filter(slot => slot !== undefined)
}
1 change: 1 addition & 0 deletions shared-data/js/helpers/index.ts
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ export * from './getLoadedLabwareDefinitionsByUri'
export * from './getOccludedSlotCountForModule'
export * from './labwareInference'
export * from './getAddressableAreasInProtocol'
export * from './getFlexSurroundingSlots'
export * from './getSimplestFlexDeckConfig'
export * from './formatRunTimeParameterDefaultValue'
export * from './formatRunTimeParameterValue'
167 changes: 167 additions & 0 deletions step-generation/src/__tests__/getIsSafePipetteMovement.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
import { expect, describe, it } from 'vitest'
import { getIsSafePipetteMovement } from '../utils'
import {
LabwareDefinition2,
TEMPERATURE_MODULE_TYPE,
TEMPERATURE_MODULE_V2,
fixture96Plate,
fixtureP100096V2Specs,
fixtureTiprack1000ul,
fixtureTiprackAdapter,
} from '@opentrons/shared-data'
import { InvariantContext, RobotState } from '../types'

const mockLabwareId = 'labwareId'
const mockPipId = 'pip'
const mockTiprackId = 'tiprackId'
const mockModule = 'moduleId'
const mockLabware2 = 'labwareId2'
const mockAdapter = 'adapterId'
const mockInvariantProperties: InvariantContext = {
pipetteEntities: {
pip: {
name: 'p1000_96',
id: 'pip',
tiprackDefURI: ['mockDefUri'],
tiprackLabwareDef: [fixtureTiprack1000ul as LabwareDefinition2],
spec: fixtureP100096V2Specs,
},
},
labwareEntities: {
[mockLabwareId]: {
id: mockLabwareId,
labwareDefURI: 'mockDefUri',
def: fixture96Plate as LabwareDefinition2,
},
[mockTiprackId]: {
id: mockTiprackId,
labwareDefURI: 'mockTipUri',
def: fixtureTiprack1000ul as LabwareDefinition2,
},
[mockAdapter]: {
id: mockAdapter,
labwareDefURI: 'mockAdapterUri',
def: fixtureTiprackAdapter as LabwareDefinition2,
},
[mockLabware2]: {
id: mockLabware2,
labwareDefURI: 'mockDefUri',
def: fixture96Plate as LabwareDefinition2,
},
},
moduleEntities: {},
additionalEquipmentEntities: {},
config: {
OT_PD_DISABLE_MODULE_RESTRICTIONS: false,
},
}

const mockRobotState: RobotState = {
pipettes: { pip: { mount: 'left' } },
labware: { [mockLabwareId]: { slot: 'D2' }, [mockTiprackId]: { slot: 'A2' } },
modules: {},
tipState: { tipracks: {}, pipettes: {} },
liquidState: { pipettes: {}, labware: {}, additionalEquipment: {} },
}
describe('getIsSafePipetteMovement', () => {
it('returns true when the labware id is a trash bin', () => {
const result = getIsSafePipetteMovement(
{
labware: {},
pipettes: {},
modules: {},
tipState: {},
liquidState: {},
} as any,
{
labwareEntities: {},
pipetteEntities: {},
moduleEntities: {},
additionalEquipmentEntities: {
trashBin: { name: 'trashBin', location: 'A3', id: 'trashBin' },
},
config: {} as any,
},
'mockId',
'mockTrashBin',
'mockTiprackId',
{ x: 0, y: 0, z: 0 }
)
expect(result).toEqual(true)
})
it('returns false when within pipette extents is false', () => {
const result = getIsSafePipetteMovement(
mockRobotState,
mockInvariantProperties,
mockPipId,
mockLabwareId,
mockTiprackId,
{ x: -12, y: -100, z: 20 }
)
expect(result).toEqual(false)
})
it('returns true when there are no collisions and a module near it', () => {
mockRobotState.modules = {
[mockModule]: { slot: 'D1', moduleState: {} as any },
}
mockInvariantProperties.moduleEntities = {
[mockModule]: {
id: mockModule,
type: TEMPERATURE_MODULE_TYPE,
model: TEMPERATURE_MODULE_V2,
},
}
const result = getIsSafePipetteMovement(
mockRobotState,
mockInvariantProperties,
mockPipId,
mockLabwareId,
mockTiprackId,
{ x: -1, y: 5, z: 20 }
)
expect(result).toEqual(true)
})
it('returns false when there is a tip that collides', () => {
mockRobotState.tipState.tipracks = { mockTiprackId: { A1: true } }
const result = getIsSafePipetteMovement(
mockRobotState,
mockInvariantProperties,
mockPipId,
mockLabwareId,
mockTiprackId,
{ x: -1, y: 5, z: 0 }
)
expect(result).toEqual(false)
})
it('returns false when there is a tall module nearby in a diagonal slot with adapter and labware', () => {
mockRobotState.modules = {
[mockModule]: { slot: 'C1', moduleState: {} as any },
}
mockRobotState.labware = {
[mockLabwareId]: { slot: 'D2' },
[mockAdapter]: {
slot: mockModule,
},
[mockLabware2]: {
slot: mockAdapter,
},
}
mockInvariantProperties.moduleEntities = {
[mockModule]: {
id: mockModule,
type: TEMPERATURE_MODULE_TYPE,
model: TEMPERATURE_MODULE_V2,
},
}
const result = getIsSafePipetteMovement(
mockRobotState,
mockInvariantProperties,
mockPipId,
mockLabwareId,
mockTiprackId,
{ x: 0, y: 0, z: 0 }
)
expect(result).toEqual(false)
})
// todo(jr, 4/23/24): add more test cases, test thermocycler collision - i'll do this in a follow up
})
Loading
Loading