Skip to content

Commit

Permalink
Linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlevy1981 committed Nov 20, 2024
1 parent 90ff73a commit 5e4e0be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cupid/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ def build(config_path):
for component in control["compute_notebooks"]:
for notebook in control["compute_notebooks"][component]:
if "external_tool" in control["compute_notebooks"][component][notebook]:
if control["compute_notebooks"][component][notebook]["external_tool"].get("tool_name") == "ADF":
if (
control["compute_notebooks"][component][notebook][
"external_tool"
].get("tool_name")
== "ADF"
):
shutil.copytree(
f"{run_dir}/ADF_output",
f"{run_dir}/computed_notebooks/{sname}/_build/html/ADF",
Expand Down

0 comments on commit 5e4e0be

Please sign in to comment.