diff --git a/docs/Home.py b/docs/Home.py index cabb3d7..d383608 100644 --- a/docs/Home.py +++ b/docs/Home.py @@ -1,5 +1,5 @@ import streamlit as st -from .download import download_data +from download_prerequisites import download_data download_data() diff --git a/docs/download.py b/docs/download_prerequisites.py similarity index 91% rename from docs/download.py rename to docs/download_prerequisites.py index c40a84b..d87565c 100644 --- a/docs/download.py +++ b/docs/download_prerequisites.py @@ -2,7 +2,7 @@ from policyengine_us_data.data_storage import STORAGE_FOLDER def download_data(): - if (not STORAGE_FOLDER / "enhanced_cps_2024.h5").exists(): + if not (STORAGE_FOLDER / "enhanced_cps_2024.h5").exists(): download( "PolicyEngine", "policyengine-us-data",