BCDA-APS / gemviz

Data visualization for tiled
https://bcda-aps.github.io/gemviz/
Other
4 stars 0 forks source link

BUG when text entered to search as scan_id #129

Closed prjemian closed 1 year ago

prjemian commented 1 year ago

Typed a plan name (grid_scan) into the search by Scan ID and got this exception trace:

(bluesky_2023_2) prjemian@arf:~/.../BCDA-APS/gemviz$ Traceback (most recent call last):
  File "/home/prjemian/Documents/projects/BCDA-APS/gemviz/./gemviz/bluesky_runs_catalog_table_view.py", line 84, in displayTable
    self.cat = self.parent.brc_search_panel.filteredCatalog()
  File "/home/prjemian/Documents/projects/BCDA-APS/gemviz/./gemviz/bluesky_runs_catalog_search.py", line 93, in filteredCatalog
    cat = utils.get_tiled_runs(cat, scan_id=int(scan_id))
ValueError: invalid literal for int() with base 10: 'grid_scan'

FWIW: app did not crash