Closed pgorelik closed 2 years ago
Hi Pavel,
Please use the dev
branch for now. Dev is the one that is currently maintained and Master is rather old. I will migrate current dev to master later this year.
The issue you reported regarding dev
was an unrelated bug and should be fixed now. Make SURE that both your node and the ethoscopes are using the same branch (dev).
Hi Giorgio,
Thanks for the help. Unfortunately, there's still a problem. I have both the node and the ethoscope on the most recent dev
branch, but I still get an error that seems related to the one I posted earlier.
Sorry there has been an error: Traceback (most recent call last): File "/opt/ethoscope-device/src/ethoscope/web_utils/control_thread.py", line 485, in run self._start_tracking(cam, result_writer, rois, TrackerClass, tracker_kwargs, hardware_connection, StimulatorClass, stimulator_kwargs) File "/opt/ethoscope-device/src/ethoscope/web_utils/control_thread.py", line 328, in _start_tracking stimulators = [StimulatorClass(hardware_connection, **stimulator_kwargs) for _ in rois] File "/opt/ethoscope-device/src/ethoscope/web_utils/control_thread.py", line 328, in <listcomp> stimulators = [StimulatorClass(hardware_connection, **stimulator_kwargs) for _ in rois] File "/opt/ethoscope-device/src/ethoscope/stimulators/sleep_depriver_stimulators.py", line 220, in __init__ super(OptomotorSleepDepriver, self).__init__(hardware_connection, velocity_correction_coef, min_inactive_time, date_range) File "/opt/ethoscope-device/src/ethoscope/stimulators/sleep_depriver_stimulators.py", line 112, in __init__ self._p = float(stimulus_probability) ValueError: could not convert string to float: ''
I can run the default stimulator without any problems though. Any additional advice?
Thanks, Pavel
Are you by any change leaving the option "stimulus probability" empty? it should be a number from 0 to 1
Hi,
I was attempting to use the 'OptoMotorSleepDepriver' interactor, which does not have a stimulus probability field. I see that 'SleepDepStimulator' has this option -- is this the interactor I should be using for sleep deprivation? Has 'OptoMotorSleepDepriver' been depricated? With 'SleepDepStimulator' my motors do not turn; however, this could be because I am still using old Arduino code. I will check that next.
Hello,
Whenever I try to update the Ethoscope to the latest
master
branch, the device_server stops and the device goes offline. I then have to manually change the branch back todev
from within the device to get it to work. When trying to run the latestmaster
branch, I get the following status:My node is an old i5 PC and the Ethoscope runs on a rPi 3B+. After I burn a new SD card using the ISO and set it up, the status looks like in the picture below. However, as soon as I try to update the device to the most recent
master
branch, the device goes offline, and I get the error shown above.If I update the device but stay on the
dev
branch, I get an error when I try to run the OptomotorSleepDepriver interactor.So, neither the
master
branch nor thedev
branch is workable for me right now. Do you have any advice on what might be wrong?Thanks, Pavel