Skip to content

Commit

Permalink
missed some renameing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Nov 19, 2024
1 parent 7a48dc9 commit 93d2316
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions shared-data/python/opentrons_shared_data/pipette/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ def load_serial_lookup_table() -> Dict[str, str]:
"eight_channel": "M",
"single_channel": "S",
"ninety_six_channel": "H",
"eight_channel_peek": "P",
"eight_channel_emulsify": "P",
}
_channel_model_str = {
"single_channel": "single",
"ninety_six_channel": "96",
"eight_channel": "multi",
"eight_channel_peek": "multiemulsify",
"eight_channel_emulsify": "multiemulsify",
}
_model_shorthand = {"p1000": "p1k", "p300": "p3h"}
for channel_dir in _dirs_in(config_path):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def _update_all_models(configuration_to_update: List[str]) -> None:
"single_channel": "single",
"ninety_six_channel": "96",
"eight_channel": "multi",
"eight_channel_peek": "multiemulsify",
"eight_channel_emulsify": "multiemulsify",
}

for channel_dir in os.listdir(paths_to_validate):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_all_pipette_models() -> Iterator[PipetteModel]:
"single_channel": "single",
"ninety_six_channel": "96",
"eight_channel": "multi",
"eight_channel_peek": "multiemulsify",
"eight_channel_emulsify": "multiemulsify",
}
assert os.listdir(paths_to_validate), "You have a path wrong"
for channel_dir in os.listdir(paths_to_validate):
Expand Down
6 changes: 3 additions & 3 deletions shared-data/python/tests/pipette/test_validate_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def iterate_models() -> Iterator[PipetteModel]:
"single_channel": "single",
"ninety_six_channel": "96",
"eight_channel": "multi",
"eight_channel_peek": "multiemulsify",
"eight_channel_emulsify": "multiemulsify",
}
defn_root = get_shared_data_root() / "pipette" / "definitions" / "2" / "liquid"
assert os.listdir(defn_root), "A path is wrong"
Expand Down Expand Up @@ -64,7 +64,7 @@ def test_pick_up_configs_configuration_by_nozzle_map_keys() -> None:
"single_channel": "single",
"ninety_six_channel": "96",
"eight_channel": "multi",
"eight_channel_peek": "multiemulsify",
"eight_channel_emulsify": "multiemulsify",
}
assert os.listdir(paths_to_validate), "You have a path wrong"
for channel_dir in os.listdir(paths_to_validate):
Expand Down Expand Up @@ -107,7 +107,7 @@ def test_pick_up_configs_configuration_ordered_from_smallest_to_largest() -> Non
"single_channel": "single",
"ninety_six_channel": "96",
"eight_channel": "multi",
"eight_channel_peek": "multiemulsify",
"eight_channel_emulsify": "multiemulsify",
}
assert os.listdir(paths_to_validate), "You have a path wrong"
for channel_dir in os.listdir(paths_to_validate):
Expand Down

0 comments on commit 93d2316

Please sign in to comment.