Blueapi device name is different to actual device name

Aperta
#1,700 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

The payload names no files or tests. Start by finding where blueapi builds its internal device lookup and where it sets device names for run engine documents and logging, then compare them with how ophyd-async names child devices (parent-child-x). Read the linked dodal issue 2216 and blueapi PR 1697 for context. Done means the server looks devices up by their true name and the documents and logs use the same name.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

under-discussion

Related to https://github.com/DiamondLightSource/dodal/issues/2216 and https://github.com/DiamondLightSource/blueapi/pull/1697.

Devices in ophyd-async and dodal have device names like so parent-child-x. However, blueapi uses an internal name lookup equivalent of parent.child.x. This causes issues where the device blueapi uses to lookup on the server, run engine documents, and device logging are all different to each other. Blueapi also keeps track of two separate naming conventions, complicating the code where we shouldn't need to.

Blueapi should unify the device name to lookup on the server and should actually use the true name of the device. This will also be helpful if issue https://github.com/DiamondLightSource/blueapi/issues/1671 is fixed first because then blueapi will know about all child devices up front.

Acceptance Criteria

  • Blueapi device lookup uses the true device name.
Lingua principale
Python
Stelle
14
Fork
14
Merge medio
2g 23h
PR unite (30g)
27

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiamondLightSource/blueapi

Tutte le issue di DiamondLightSource/blueapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.