-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live monitoring of the minknow using the API #68
Comments
Hi @jjkoehorst , Can you attach a demonstration script you are running which hangs? Do the examples in this project run for you? The API calls in the Thanks,
|
Ok found out that hanging was my fault I did a parallel processing for each of the different flow cells but did not realise it would not throw visible errors. I have the complete acquisition info at the moment.
Might be due to the fact I am running a simulation from https://github.com/looselab/readfish?tab=readme-ov-file#adding-a-simulated-position-for-testing which might not have this information as it is not the gridion we have in the lab. |
It looks like that |
That will contain a lot of summary information from the run yes. If you need assistance with the From the traceback, it might be: connection.statistics.stream_temperature(run_id) Should be: connection.statistics.stream_temperature(acquisition_run_id=run_id) Thanks,
|
Now we are getting a step further indeed print(f"Second attempt : {connection.statistics.stream_temperature(acquisition_run_id=run_id)}")
Second attempt : <_MultiThreadedRendezvous object> |
and looping over that returns many
|
I do notice that when its printing it never continues but it could be that this should be executed in a separate thread? |
It will continue to stream back temperatures from the device every minute until you cancel the stream. You could specify a start and/or end time to the API if you don't want an indefinite stream, but it will depend on what you are trying to achieve.
|
I am trying to pull the current temperature once a minute while its running |
but there is no "time" information associated with the values so I guess this is for a plot only?
|
Hello, To calculate the absolute time of each bucket:
Thanks,
|
I am working on a remote monitoring / storage system and I would like to connect the gridion we have running in our lab.
Using the API I am able to access a simulation run that is running on my laptop and I am able to retrieve basic information like which flow cells are connected and so forth
However when trying to go beyond that for example get current temperature
connection.statistics.get_temperature()
it just hangs.Also I am not sure yet how to retrieve the other information like available pores, reads, bases, health etc...
I tried going through the python tests but these functions might not be used in those?
The text was updated successfully, but these errors were encountered: