mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 09:07:20 +08:00
Fix optional covariates check in incremental indexing (#1374)
* Fix optional covariates check in incremental indexing * Oopsie fix
This commit is contained in:
parent
a8ccded83c
commit
1661672569
@ -0,0 +1,4 @@
|
||||
{
|
||||
"type": "patch",
|
||||
"description": "Fix optional covariates update in incremental indexing"
|
||||
}
|
||||
@ -120,8 +120,12 @@ async def update_dataframe_outputs(
|
||||
)
|
||||
|
||||
# Merge final covariates
|
||||
progress_reporter.info("Updating Final Covariates")
|
||||
await _update_covariates(dataframe_dict, storage, update_storage)
|
||||
if (
|
||||
await storage.has("create_final_covariates.parquet")
|
||||
and "create_final_covariates" in dataframe_dict
|
||||
):
|
||||
progress_reporter.info("Updating Final Covariates")
|
||||
await _update_covariates(dataframe_dict, storage, update_storage)
|
||||
|
||||
# Merge final nodes and update community ids
|
||||
progress_reporter.info("Updating Final Nodes")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user