feat: 移除全量包中的小区数据

This commit is contained in:
nixevol
2026-09-21 09:41:24 +08:00
parent 75af8f9f76
commit cab073bc0c
9 changed files with 25 additions and 59 deletions
+1 -3
View File
@@ -55,10 +55,8 @@ def render():
if submitted:
params["SELECTED_MARKET_IDS"] = [fid for fid, _ in options] if all_markets else chosen
try:
if any(value is None for key, value in params.items() if key in SOURCES and (key != "CELL_DATA_GPKG" or params["SUMMARY_OUTPUT_ENABLED"])):
if any(value is None for key, value in params.items() if key in SOURCES):
raise ValueError("请完成所需数据的导入。")
if params["CELL_DATA_GPKG"] is None:
params.pop("CELL_DATA_GPKG")
show_started(start_task("market", params))
except (OSError, sqlite3.Error, ValueError, zipfile.BadZipFile) as error:
st.error(str(error))