Skip to content

Commit

Permalink
fix(abr-testing): Update simulate (#16929)
Browse files Browse the repository at this point in the history
# Overview
Fixes the issue of make-simulate not simulating liquid setups in
protocols folder

---------

Co-authored-by: rclarke0 <[email protected]>
  • Loading branch information
AnthonyNASC20 and rclarke0 authored Nov 21, 2024
1 parent 87c2ffd commit f37ef0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions abr-testing/abr_testing/protocol_simulation/abr_sim_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_files() -> Tuple[Dict[str, Dict[str, Union[str, Path]]], List[Path]]:
labware_defs = []
for root, directories, _ in os.walk(root_dir):
for directory in directories:
if directory == "active_protocols":
if directory not in exclude:
active_dir = os.path.join(root, directory)
for file in os.listdir(
active_dir
Expand Down Expand Up @@ -100,7 +100,6 @@ def get_files() -> Tuple[Dict[str, Dict[str, Union[str, Path]]], List[Path]]:
exclude = [
"__init__.py",
"helpers.py",
"shared_vars_and_funcs.py",
]
print("Simulating Protocols")
file_dict, labware_defs = get_files()
Expand Down

0 comments on commit f37ef0a

Please sign in to comment.