CrayLabs / SmartDashboard

SmartSim Dashboard Package.
BSD 2-Clause "Simplified" License
6 stars 2 forks source link

Enable parameterized loading of overview via CLI #3

Closed ankona closed 11 months ago

ankona commented 11 months ago

Enables use of CLI arguments while leaving default test behaviors.

Sample Usage:

  1. (default) build overview for test manifest -- use streamlit run <repo_path>/smartdashboard/ExperimentOverview.py
  2. enable specifying exp directory: -- use smart-dash -d <repo_path>/tests/utils/manifest_files/fauxexp
  3. enable specifying server port: -- use smart-dash -d <repo_path>/tests/utils/manifest_files/fauxexp -p 9999
  4. enable using current working directory as context: -- navigate to valid exp dir: cd <repo_path>/tests/utils/manifest_files/fauxexp -- load dashboard: smart-dash

Modifications:

  1. Remove existing cli script and update pyproject.toml to point to experiment overview.
  2. Minor reorg of experiment overview building (add view builder method consistent with sub-views)
  3. Fix relative path issue w/logo loading (bug occurred when running using cwd as experiment dir)