diff --git a/.gitignore b/.gitignore index f8f166f..0f57b2e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ __pycache__/ .vscode/ .devcontainer/ build/ +runs/ diff --git a/notebooks/distributed/13__dragonhpc_cuphoton__workflow.ipynb b/notebooks/distributed/13__dragonhpc_cuphoton__workflow.ipynb index d32d9a1..408c0ea 100644 --- a/notebooks/distributed/13__dragonhpc_cuphoton__workflow.ipynb +++ b/notebooks/distributed/13__dragonhpc_cuphoton__workflow.ipynb @@ -120,7 +120,7 @@ ")).expanduser().resolve())\n", "assert WORKERS > 0 and NODES > 0\n", "SESSION = f\"notebook-{time.strftime('%Y%m%d-%H%M%S')}-{uuid.uuid4().hex[:6]}\"\n", - "RUNS = DEMO / \"runs\" / SESSION\n", + "RUNS = Path(\"runs\") / SESSION\n", "RUNS.mkdir(parents=True, exist_ok=False)\n", "# %%bash inherits these environment variables; PATH selects this kernel's tools.\n", "os.environ[\"PATH\"] = str(Path(sys.executable).parent) + os.pathsep + os.environ[\"PATH\"]\n", diff --git a/notebooks/distributed/solutions/13__dragonhpc_cuphoton__workflow__SOLUTION.ipynb b/notebooks/distributed/solutions/13__dragonhpc_cuphoton__workflow__SOLUTION.ipynb index d32d9a1..408c0ea 100644 --- a/notebooks/distributed/solutions/13__dragonhpc_cuphoton__workflow__SOLUTION.ipynb +++ b/notebooks/distributed/solutions/13__dragonhpc_cuphoton__workflow__SOLUTION.ipynb @@ -120,7 +120,7 @@ ")).expanduser().resolve())\n", "assert WORKERS > 0 and NODES > 0\n", "SESSION = f\"notebook-{time.strftime('%Y%m%d-%H%M%S')}-{uuid.uuid4().hex[:6]}\"\n", - "RUNS = DEMO / \"runs\" / SESSION\n", + "RUNS = Path(\"runs\") / SESSION\n", "RUNS.mkdir(parents=True, exist_ok=False)\n", "# %%bash inherits these environment variables; PATH selects this kernel's tools.\n", "os.environ[\"PATH\"] = str(Path(sys.executable).parent) + os.pathsep + os.environ[\"PATH\"]\n",