Blueapi device name is different to actual device name

Abierto
#1,700 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
14
Forks
14
Merge medio
2 d 23 h
PR fusionados (30 d)
27

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DiamondLightSource/blueapi

Todos los issues de DiamondLightSource/blueapi

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.