@@ -26,9 +26,11 @@ Electronic Lab Notebook for Illimar Rekand, working on establishing a closed loo
...
@@ -26,9 +26,11 @@ Electronic Lab Notebook for Illimar Rekand, working on establishing a closed loo
For the last three days, I've been working on setting up a working instance on a virtual machine provided by Unchained Labs using Hyper V. Some important things I have learnt:
For the last three days, I've been working on setting up a working instance on a virtual machine provided by Unchained Labs using Hyper V. Some important things I have learnt:
* start Hyper-V manager as admin, otherwise the VM will not be available.
* start Hyper-V manager as admin, otherwise the VM will not be available.
* if left idle, the VM will shut down, and when reopened, you have to log in as if the machine had been turned off
* if left idle, the VM will shut down, and when reopened, you have to log in as if the machine had been turned off
* the setup for the Junior in this VM is not 1:1 to the physical machine we have in Bergen. As such, the tags need to be different (H6Tips instead of H6Tips) and the deck positions need to be changed.
* the setup for the Junior in this VM is not 1:1 to the physical machine we have in Bergen. As such, the tags need to be different (H6Tips instead of H6Tips) and the deck positions need to be changed.
* As a general test, test.run1() from the APItizer is a good indicator to check that things are working as they should
* The conda environment is behaving strangely and I've done some hacks to make things work:
* The conda environment is behaving strangely and I've done some hacks to make things work:
* First of all, the example 32-bit python.exe provided by Unchained Labs which is necessary to use the Python LSAPI has been added to PATH, and as such, **all testing should be done with conda deactivated**.
* First of all, the example 32-bit python.exe provided by Unchained Labs which is necessary to use the Python LSAPI has been added to PATH, and as such, **all testing should be done with conda deactivated**.
* To find the correct scripts and utilities, a line of sys.path.append() is added before import statements which specifies to site-packages. In an ideal world, custom packages would be installed locally in a `pip install -e .` fashion, but this is the solution I have used which works now.
* To find the correct scripts and utilities, a line of sys.path.append() is added before import statements which specifies to site-packages. In an ideal world, custom packages would be installed locally in a `pip install -e .` fashion, but this is the solution I have used which works now.