Opentrons-Microscope-Platereader
Opentrons-Microscope-Platereader copied to clipboard
Unable to install the system correctly
Hi, I was trying to setup the opentrons-grbl server system and tried following the steps as mentioned in the readme file. Basically , what I did was the following:
- Boot OpenFlexure Lite image and connected it via ssh
- Followed the following steps as mentioned:
cd ~
git clone -b opentrons-grbl https://gitlab.com/beniroquai/openflexure-microscope-server
cd openflexure-microscope-server/openflexure_microscope/api
ATTENTION:
sudo rm -r static # we need to rebuild it this takes long, so we side-load it by building it on a computer or downloading it here:
wget static.zip # link will follow; gdrive: https://drive.google.com/file/d/1I15lDKNll91UxbFlYPiCGbfkYkHK_CM1/view?usp=sharing
unzip static.zip
- ofm stop the previously installed server
- Setup the settings in ~/openflexure-microscope-server/openflexure_microscope/openflexure/settings as mentioned
- Started the server as mentioned in the documentation
cd ~/openflexure-microscope-server/openflexure_microscope/api/
/var/openflexure/application/openflexure-microscope-server/.venv/bin/python app.py
Now the problem is that, whenever I try to run the new server that is located at ~/openflexure-microscope-server/openflexure_microscope/api , the imported module inside app.py always points to the one that is located at /var/openflexure/application/openflexure-microscope-server. Due to this , when trying to set the stage type to 'grbl', I am getting error. Am I missing something while setting up the system?
Thanks,
Hey @bichar4, thanks for reaching out. I must admit that I wasn't working on this project for a while now. I remember that @rwb27 put some efforts into creating a better integration of external hardware modules into the OFM server. Perhaps we could use this mechanism to inject the GRBL mechanism again? A better guess would be to use the latest OFM server you already showed and try to replace the Sangaboard with the GRBL implementation.
Hope that helps :)
Hi all, the changes I made to modularise the server are, unfortunately, all still in a development branch - from memory you'll need to hack the Python code of the server module in order to use a stage that's not built in. I'm pretty sure @beniroquai did that.