diff --git a/.gitignore b/.gitignore index 5830bc8..1bd9d3b 100644 --- a/.gitignore +++ b/.gitignore @@ -36,9 +36,16 @@ logs/*.jsonl .web/ .states/ +<<<<<<< Updated upstream # SQLite database (will contain local data) #*.db #*.sqlite +======= +# SQLite databases (except pathways.db which contains pre-computed data) +*.db +!data/pathways.db +*.sqlite +>>>>>>> Stashed changes # Snowflake result cache data/cache/ diff --git a/run_dash.py b/run_dash.py index c98fe31..77a5fbd 100644 --- a/run_dash.py +++ b/run_dash.py @@ -1,4 +1,12 @@ """Entry point for the Dash application.""" +import sys +from pathlib import Path + +# Ensure src/ is on sys.path so that core/, data_processing/, etc. are importable +_src_dir = str(Path(__file__).resolve().parent / "src") +if _src_dir not in sys.path: + sys.path.insert(0, _src_dir) + from dash_app.app import app if __name__ == "__main__":