Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion notebooks/features/graphical_models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"metadata": {},
"source": [
"\n",
"# from autofit import setup_notebook; setup_notebook()\n",
"from autofit import setup_notebook; setup_notebook()\n",
"\n",
"from os import path\n",
"import matplotlib.pyplot as plt\n",
Expand Down Expand Up @@ -141,6 +141,8 @@
"cell_type": "code",
"metadata": {},
"source": [
"# Intentional raw guard: this guards a single file, and this workspace has no\n",
"# should_simulate / PYAUTO_SMALL_DATASETS contract (unlike autolens/autogalaxy).\n",
"if not path.exists(\n",
" path.join(\"dataset\", \"example_1d\", \"gaussian_x1__low_snr\", \"dataset_0\", \"data.json\")\n",
"):\n",
Expand Down
4 changes: 3 additions & 1 deletion notebooks/features/shared_analysis_state.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"metadata": {},
"source": [
"\n",
"# from autofit import setup_notebook; setup_notebook()\n",
"from autofit import setup_notebook; setup_notebook()\n",
"\n",
"from os import path\n",
"import matplotlib.pyplot as plt\n",
Expand Down Expand Up @@ -147,6 +147,8 @@
"cell_type": "code",
"metadata": {},
"source": [
"# Intentional raw guard: this guards a single file, and this workspace has no\n",
"# should_simulate / PYAUTO_SMALL_DATASETS contract (unlike autolens/autogalaxy).\n",
"if not path.exists(\n",
" path.join(\"dataset\", \"example_1d\", \"gaussian_x1__low_snr\", \"dataset_0\", \"data.json\")\n",
"):\n",
Expand Down
2 changes: 2 additions & 0 deletions scripts/features/graphical_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
# Intentional raw guard: this guards a single file, and this workspace has no
# should_simulate / PYAUTO_SMALL_DATASETS contract (unlike autolens/autogalaxy).
if not path.exists(
path.join("dataset", "example_1d", "gaussian_x1__low_snr", "dataset_0", "data.json")
):
Expand Down
2 changes: 2 additions & 0 deletions scripts/features/shared_analysis_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@

If the dataset does not already exist on your system, it will be created by running the corresponding simulator script.
"""
# Intentional raw guard: this guards a single file, and this workspace has no
# should_simulate / PYAUTO_SMALL_DATASETS contract (unlike autolens/autogalaxy).
if not path.exists(
path.join("dataset", "example_1d", "gaussian_x1__low_snr", "dataset_0", "data.json")
):
Expand Down
Loading