Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: IndexError crashes app #226

Open
prjemian opened this issue Jan 7, 2025 · 0 comments
Open

BUG: IndexError crashes app #226

prjemian opened this issue Jan 7, 2025 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@prjemian
Copy link
Contributor

prjemian commented Jan 7, 2025

When browsing the ht_hedm catalog, selecting scan_id=1258 (2024-01-22 17:19:57) crashes the application with this exception report:

  File "/home/beams1/JEMIAN/Documents/projects/BCDA-APS/gemviz/gemviz/bluesky_runs_catalog.py", line 135, in doRunSelectedSlot
    self.brc_run_viz.setData(self.getDataDescription(run))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/beams1/JEMIAN/Documents/projects/BCDA-APS/gemviz/gemviz/bluesky_runs_catalog.py", line 155, in getDataDescription
    analysis = run.plottable_signals()
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/beams1/JEMIAN/Documents/projects/BCDA-APS/gemviz/gemviz/tapi.py", line 119, in plottable_signals
    axes = [get_signal(d[0][0]) for d in run_dims]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/beams1/JEMIAN/Documents/projects/BCDA-APS/gemviz/gemviz/tapi.py", line 119, in <listcomp>
    axes = [get_signal(d[0][0]) for d in run_dims]
                       ~~~~^^^
IndexError: list index out of range

version: 0.0.2.dev146+g13607a0

@prjemian prjemian added the bug Something isn't working label Jan 7, 2025
@prjemian prjemian self-assigned this Jan 7, 2025
@prjemian prjemian added this to the v1.0 milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant