Skip to content

Commit 2580d1e

Browse files
committed
Address comments
1 parent 2996cb8 commit 2580d1e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/apple/coreml/scripts/inspector_utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def build_sdk_runner_including_coreml(
6767
"./examples/sdk/build_sdk_example_runner.sh --coreml"
6868
)
6969
build_command: str = (
70-
f"{cd_root_command}; {conda_activate_env_command}; {build_sdk_runner_command}"
70+
f"{cd_root_command} && {conda_activate_env_command} && {build_sdk_runner_command}"
7171
)
7272
subprocess.run(
7373
f'bash -c "{build_command}"', shell=True, check=True
@@ -189,9 +189,8 @@ def generate_etdump_with_intermediate_values(
189189
-etdump_path {et_dump_path.resolve()}\
190190
-debug_output_path {debug_buffer_path.resolve()}\
191191
-debug_buffer_size {debug_buffer_size}"""
192-
run_command: str = f"{sdk_runner_command}"
193192
subprocess.run(
194-
f'bash -c "{run_command}"', shell=True, check=True
193+
f'bash -c "{sdk_runner_command}"', shell=True, check=True
195194
).check_returncode()
196195

197196

0 commit comments

Comments
 (0)