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: 2 additions & 2 deletions .github/scripts/smoke_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
set -e

if [ "$PYTHON_VERSION" = "3.12" ]; then
pip install ./PyAutoConf ./PyAutoFit ./PyAutoArray ./PyAutoGalaxy ./PyAutoLens
pip install ./PyAutoNerves ./PyAutoFit ./PyAutoArray ./PyAutoGalaxy ./PyAutoLens
pip install "./PyAutoArray[optional]" "./PyAutoGalaxy[optional]" "./PyAutoLens[optional]"
else
pip install ./PyAutoConf ./PyAutoFit ./PyAutoArray ./PyAutoGalaxy ./PyAutoLens
pip install ./PyAutoNerves ./PyAutoFit ./PyAutoArray ./PyAutoGalaxy ./PyAutoLens
pip install numba
fi
pip install tensorflow-probability==0.25.0
2 changes: 1 addition & 1 deletion .github/workflows/smoke_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
smoke:
uses: PyAutoLabs/PyAutoHeart/.github/workflows/smoke-tests.yml@main
with:
chain: "PyAutoConf PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens"
chain: "PyAutoNerves PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens"
secrets: inherit
2 changes: 1 addition & 1 deletion config/general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test:
version:
# The compatibility FLOOR: the oldest library release whose API this
# workspace's scripts require. Preferred over workspace_version
# (autoconf/workspace.py). Bump DELIBERATELY — only when a script
# (autonerves/workspace.py). Bump DELIBERATELY — only when a script
# starts needing new API — never per release. Must always name an
# INSTALLABLE (non-yanked) release.
minimum_library_version: 2026.7.9.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/chapter_1_introduction/tutorial_2_ray_tracing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/chapter_1_introduction/tutorial_6_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/chapter_1_introduction/tutorial_7_fitting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/chapter_1_introduction/tutorial_8_summary.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/chapter_2_lens_modeling/tutorial_7_results.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/chapter_3_search_chaining/tutorial_6_slam.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
" import sys\n",
"\n",
" subprocess.check_call(\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autoconf\", \"--no-deps\"]\n",
" [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n",
" )\n",
"except ImportError:\n",
" pass\n",
"\n",
"from autoconf import setup_colab\n",
"from autonerves import setup_colab\n",
"\n",
"setup_colab.setup(\"howtolens\")"
]
Expand Down
Loading
Loading