Coverage for scanpath_studio/streamlit_entry.py: 0%

2 statements  

« prev     ^ index     » next       coverage.py v7.16.2, created at 2026-10-07 21:10 +0000

1"""The script ``scanpath-studio run`` (and the desktop app) hands to ``streamlit run``. 

2 

3It imports the app rather than being it, so that an error raised while 

4``app.py`` itself is imported still reaches ``crash_report``'s note asking the 

5user to report it — run as the script, ``app.py`` would fail before any guard 

6of its own could start. ``streamlit_app.py`` at the repo root is the same shim 

7for Streamlit Community Cloud. 

8""" 

9 

10from scanpath_studio.crash_report import run_app 

11 

12run_app()