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
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,6 @@
"cell_type": "code",
"metadata": {},
"source": [
"\n",
"import importlib.util\n",
"import sys\n",
"\n",
"if importlib.util.find_spec(\"jax\") is None:\n",
" print(\n",
" \"Skipping this tutorial: it requires the `jax` package (used to \"\n",
" \"accelerate the multi-plane point-source solves), which is not \"\n",
" \"installed (install with `pip install autolens[optional]`).\"\n",
" )\n",
" sys.exit(0)\n",
"\n",
"from autolens import jax_wrapper # Sets JAX environment before other imports\n",
"\n",
Expand Down
11 changes: 0 additions & 11 deletions scripts/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,6 @@
redshift uncertainties must be considered when interpreting a real cluster model.
"""

import importlib.util
import sys

if importlib.util.find_spec("jax") is None:
print(
"Skipping this tutorial: it requires the `jax` package (used to "
"accelerate the multi-plane point-source solves), which is not "
"installed (install with `pip install autolens[optional]`)."
)
sys.exit(0)

from autolens import jax_wrapper # Sets JAX environment before other imports

# from autolens import setup_notebook; setup_notebook()
Expand Down
Loading