LiveTable failed to format row
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia dal blocco di cattura dell’eccezione in bluesky/callbacks/core.py alle righe collegate, quindi riproduci il problema usando adaptive_scan e list_scan come mostrato. Confronta i valori delle righe che attivano l’errore, inclusa la differenza segnalata tra int e float. Il lavoro è completato quando LiveTable formatta queste righe senza stampare “failed to format row”, mentre la scansione continua normalmente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Expected Behavior
Live table shouldn't fail to format a row.
Current Behavior
LiveTable occasionally has issues formatting rows. We saw this first in a slack thread James Cryan in bp.list_scan.
Later seen by me in bp.adaptive_scan
This does not stop the scan from running, just breaks the terminal outputs. Originates from this exception catch.
Possible Solution
??? Possibly something to do with floats and ints?
Steps to Reproduce (for bugs)
In [3]: from bluesky.plans import adaptive_scan
...: from ophyd.sim import motor, det
...:
...: RE(adaptive_scan([det], 'det', motor,
...: start=-15,
...: stop=10,
...: min_step=0.01,
...: max_step=5.,
...: target_delta=.05,
...: backstep=True))
Transient Scan ID: 2 Time: 2022-04-19 13:33:54
Persistent Unique Scan ID: '22ecca5f-4be2-4645-ad7c-f557d3a4db61'
New stream: 'primary'
+-----------+------------+------------+------------+
| seq_num | time | motor | det |
+-----------+------------+------------+------------+
| 1 | 13:33:54.2 | -15 | 1.39e-49 |
failed to format row
failed to format row
failed to format row
RE(bp.list_scan([daq], photon_energy, list1))

(resolved by defining the list as floats, not int)
Context
Your Environment
pcds-5.3.1
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 18
- Merge medio
- 7g 9h
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pcdshub/hutch-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
pcdshub/hutch-python#410 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
pcdshub/hutch-python#405 · 8 commenti ·
-
Test logging needs cleanup Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
pcdshub/hutch-python#371 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
pcdshub/hutch-python#369 · 6 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
pcdshub/hutch-python#368 ·
Tutte le issue di pcdshub/hutch-python
Issue simili
-
agent-ready documentation needs-triage
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
instance instance add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
searxng/searx-instances#939 · 1 commento ·
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100