From a3f998b67eda075886dcf75ddcf305df58c5eef9 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 4 Nov 2021 11:59:27 +0100
Subject: [PATCH] L2SS-470: Updated calls to boot using new command and
 attribute names

---
 jupyter-notebooks/Home.ipynb | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/jupyter-notebooks/Home.ipynb b/jupyter-notebooks/Home.ipynb
index 1b6001f9e..33c166c35 100644
--- a/jupyter-notebooks/Home.ipynb
+++ b/jupyter-notebooks/Home.ipynb
@@ -58,7 +58,7 @@
     "# Request to reinitialise the station.\n",
     "#\n",
     "# WARNING: This will reset settings across the station!\n",
-    "boot.initialise_station()\n",
+    "boot.boot()\n",
     "assert boot.state() != DevState.FAULT"
    ]
   },
@@ -71,14 +71,16 @@
    "source": [
     "import time\n",
     "\n",
-    "while boot.initialising_station_R:\n",
-    "  print(f\"Still initialising station. {boot.initialisation_progress_R}% complete. State: {boot.initialisation_status_R}\")\n",
+    "while boot.booting_R:\n",
+    "  print(f\"Still initialising station. {boot.progress_R}% complete. State: {boot.status_R}\")\n",
     "  time.sleep(1)\n",
     "\n",
-    "if boot.initialisation_progress_R == 100:\n",
+    "if boot.progress_R == 100:\n",
     "    print(\"Done initialising station.\")\n",
     "else:\n",
-    "    print(f\"Failed to initialise station: {boot.initialisation_status_R}\")"
+    "    print(f\"Failed to initialise station: {boot.status_R}\")\n",
+    "print(f\"Initialised devices: {boot.initialised_devices_R}\")\n",
+    "print(f\"Uninitialised devices: {boot.uninitialised_devices_R}\")"
    ]
   },
   {
-- 
GitLab