LiveTable failed to format row
まだ誰も着手していません。
評価
調査の方向性
まず、リンク先の行にある bluesky/callbacks/core.py の例外キャッチから始め、示されているとおりに adaptive_scan と list_scan を使って失敗を再現します。エラーを引き起こす行の値を比較し、報告されている int と float の違いも確認します。LiveTable がこれらの行をフォーマットし、「failed to format row」を出力せずにスキャンが正常に続行されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 1
- フォーク
- 18
- 平均マージ
- 7日 9時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pcdshub/hutch-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pcdshub/hutch-python#410 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
pcdshub/hutch-python#405 · コメント 8 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
pcdshub/hutch-python#371 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
pcdshub/hutch-python#369 · コメント 6 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pcdshub/hutch-python#368 ·
pcdshub/hutch-python の issue をすべて見る
似ている issue
-
agent-ready documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
instance instance add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
searxng/searx-instances#939 · コメント 1 件 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100