nanoporetech / minknow_api

Protobuf and gRPC specifications for the MinKNOW API
Other
55 stars 12 forks source link

possible to derive ID of Flowcell? #26

Closed neuropathbasel closed 3 years ago

neuropathbasel commented 3 years ago

Hello, is it currently possible to pass the ID of an inserted Flowcell into a variable? Looking forward to your reply & best wishes Claus

0x55555555 commented 3 years ago

Hello,

Please see get_flow_cell_info here: https://github.com/nanoporetech/minknow_api/blob/master/proto/minknow_api/device.proto#L48

and the flow_cell_id field here: https://github.com/nanoporetech/minknow_api/blob/master/proto/minknow_api/device.proto#L470

I hope that helps?

Thanks,

neuropathbasel commented 3 years ago

Thanks for your rapid reply. I could not dedicate too much time on this. But so far I am not really clear how to use the device.proto file from python to derive the flowcell id. I could not find the lines you mentioned in device_pb2.py or device.py. could you please indicate which routine to import to derive the flowcell id? Many thanks

I will try to follow this up middle of next week.

neuropathbasel commented 3 years ago

thanks, I think we figured this out.