Skip to content

Commit e4eba63

Browse files
fix(analyses-snapshot-testing): fixing-liquid-probe snapshot failure capture (#15629)
This PR is an automated snapshot update request. Please review the changes and merge if they are acceptable or find your bug and fix it. Co-authored-by: aaron-kulkarni <[email protected]>
1 parent da72a0e commit e4eba63

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test/test_analysis_snapshot[a9557d762c][Flex_X_v2_16_NO_PIPETTES_AccessToFixedTrashProp].json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"errors": [
2525
{
2626
"createdAt": "TIMESTAMP",
27-
"detail": "APIVersionError [line 15]: Fixed Trash is not supported on Flex protocols in API Version 2.16 and above.",
27+
"detail": "UnsupportedAPIError [line 15]: Error 4002 API_REMOVED (UnsupportedAPIError): Fixed Trash is not available after API version 2.16. You are currently using API version 2.16. Fixed trash is no longer supported on Flex protocols.",
2828
"errorCode": "4000",
2929
"errorInfo": {},
3030
"errorType": "ExceptionInProtocolError",
@@ -33,14 +33,14 @@
3333
"wrappedErrors": [
3434
{
3535
"createdAt": "TIMESTAMP",
36-
"detail": "opentrons.protocols.api_support.util.APIVersionError: Fixed Trash is not supported on Flex protocols in API Version 2.16 and above.",
37-
"errorCode": "4000",
36+
"detail": "Fixed Trash is not available after API version 2.16. You are currently using API version 2.16. Fixed trash is no longer supported on Flex protocols.",
37+
"errorCode": "4002",
3838
"errorInfo": {
39-
"args": "('Fixed Trash is not supported on Flex protocols in API Version 2.16 and above.',)",
40-
"class": "APIVersionError",
41-
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line N, in exec_run\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line N, in <module>\n\n File \"Flex_X_v2_16_NO_PIPETTES_AccessToFixedTrashProp.py\", line N, in run\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/api_support/util.py\", line N, in _check_version_wrapper\n return decorated_obj(*args, **kwargs)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/protocol_context.py\", line N, in fixed_trash\n raise APIVersionError(\n"
39+
"current_version": "2.16",
40+
"identifier": "Fixed Trash",
41+
"since_version": "2.16"
4242
},
43-
"errorType": "PythonException",
43+
"errorType": "UnsupportedAPIError",
4444
"id": "UUID",
4545
"isDefined": false,
4646
"wrappedErrors": []

analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test/test_analysis_snapshot[d8cb88b3b2][Flex_S_v2_16_P1000_96_TC_PartialTipPickupSingle].json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,7 +3535,7 @@
35353535
"errors": [
35363536
{
35373537
"createdAt": "TIMESTAMP",
3538-
"detail": "ValueError [line 16]: Nozzle layout configuration of style SINGLE is currently unsupported.",
3538+
"detail": "ValueError [line 16]: Nozzle layout configuration of style SINGLE is unsupported in API Versions lower than 2.20.",
35393539
"errorCode": "4000",
35403540
"errorInfo": {},
35413541
"errorType": "ExceptionInProtocolError",
@@ -3544,10 +3544,10 @@
35443544
"wrappedErrors": [
35453545
{
35463546
"createdAt": "TIMESTAMP",
3547-
"detail": "ValueError: Nozzle layout configuration of style SINGLE is currently unsupported.",
3547+
"detail": "ValueError: Nozzle layout configuration of style SINGLE is unsupported in API Versions lower than 2.20.",
35483548
"errorCode": "4000",
35493549
"errorInfo": {
3550-
"args": "('Nozzle layout configuration of style SINGLE is currently unsupported.',)",
3550+
"args": "('Nozzle layout configuration of style SINGLE is unsupported in API Versions lower than 2.20.',)",
35513551
"class": "ValueError",
35523552
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line N, in exec_run\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line N, in <module>\n\n File \"Flex_S_v2_16_P1000_96_TC_PartialTipPickupSingle.py\", line N, in run\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/api_support/util.py\", line N, in _check_version_wrapper\n return decorated_obj(*args, **kwargs)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/instrument_context.py\", line N, in configure_nozzle_layout\n raise ValueError(\n"
35533553
},

0 commit comments

Comments
 (0)