Skip to content

Commit

Permalink
updated TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleon95 committed Oct 27, 2023
1 parent e2b9f17 commit bee1644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/opentrons/protocols/api_support/deck_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@


LOAD_FIXED_TRASH_GATE_VERSION_PYTHON = APIVersion(2, 15)
# TODO(jbl 2023-10-26) potentially replace using schema version in JSON protocols with another/new field
LOAD_FIXED_TRASH_GATE_VERSION_JSON = 7


Expand All @@ -29,6 +28,7 @@ def should_load_fixed_trash(protocol_config: ProtocolConfig) -> bool:
load_fixed_trash = (
protocol_config.api_version <= LOAD_FIXED_TRASH_GATE_VERSION_PYTHON
)
# TODO(jbl 2023-10-27), when schema v8 is out, use a new deck version field to support fixed trash protocols
elif isinstance(protocol_config, JsonProtocolConfig):
load_fixed_trash = (
protocol_config.schema_version <= LOAD_FIXED_TRASH_GATE_VERSION_JSON
Expand Down

0 comments on commit bee1644

Please sign in to comment.