From 9511d54464ab08db053fa8331f76b9d93976692c Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Fri, 19 Mar 2021 16:38:01 +0100 Subject: [PATCH] Initialise variables for each of our devices, for convenience --- .../stationcontrol-jupyter/startup/01-devices.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py b/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py index 75d96f838..7e72f1004 100644 --- a/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py +++ b/docker-compose/jupyter/ipython-profiles/stationcontrol-jupyter/startup/01-devices.py @@ -1,3 +1,6 @@ # Create shortcuts for our devices pcc = DeviceProxy("LTS/PCC/1") sdp = DeviceProxy("LTS/SDP/1") + +# Put them in a list in case one wants to iterate +devices = [pcc, sdp] -- GitLab